26 |
26 |
, modal: true } });
|
27 |
27 |
return true;
|
28 |
28 |
}
|
29 |
|
|
|
29 |
|
30 |
30 |
ns.renameclose = function() {
|
31 |
31 |
$("#rename_dialog").dialog('close');
|
32 |
32 |
return false;
|
33 |
33 |
}
|
34 |
|
|
|
34 |
|
35 |
35 |
ns.renameaction = function() {
|
36 |
36 |
$("#rename_dialog").dialog('close');
|
37 |
37 |
var data = {
|
... | ... | |
45 |
45 |
$.post("controller.pl", data, kivi.eval_json_result);
|
46 |
46 |
return true;
|
47 |
47 |
}
|
48 |
|
|
|
48 |
|
49 |
49 |
ns.askForRename = function(file_id,file_name,sessionfile,next_ids,is_global) {
|
50 |
50 |
$('#newfilename_id').val(file_name);
|
51 |
51 |
$('#rename_id_id').val(file_id);
|
... | ... | |
103 |
103 |
}
|
104 |
104 |
catch(err2) { fname ='';}
|
105 |
105 |
$("#upload_result").html(kivi.t8("filename has not uploadable characters ")+fname);
|
106 |
|
return;
|
|
106 |
return;
|
107 |
107 |
}
|
108 |
108 |
}
|
109 |
109 |
if ( filesize > maxsize ) {
|
... | ... | |
149 |
149 |
ns.delete = function(id,type,file_type,checkbox_class,is_global) {
|
150 |
150 |
var checkboxes = $('.'+checkbox_class).filter(function () { return $(this).prop('checked'); });
|
151 |
151 |
|
152 |
|
if ((checkboxes.size() === 0) ||
|
|
152 |
if ((checkboxes.size() === 0) ||
|
153 |
153 |
!confirm(kivi.t8('Do you really want to delete the selected documents?')))
|
154 |
154 |
return false;
|
155 |
155 |
var data = {
|
... | ... | |
167 |
167 |
ns.unimport = function(id,type,file_type,checkbox_class) {
|
168 |
168 |
var checkboxes = $('.'+checkbox_class).filter(function () { return $(this).prop('checked'); });
|
169 |
169 |
|
170 |
|
if ((checkboxes.size() === 0) ||
|
|
170 |
if ((checkboxes.size() === 0) ||
|
171 |
171 |
!confirm(kivi.t8('Do you really want to unimport the selected documents?')))
|
172 |
172 |
return false;
|
173 |
173 |
var data = {
|
... | ... | |
247 |
247 |
return false;
|
248 |
248 |
}
|
249 |
249 |
|
250 |
|
|
251 |
250 |
ns.init = function() {
|
252 |
251 |
}
|
253 |
252 |
|
001compile.t: Code korrigiert