Revision 33749625
Von Martin Helmling martin.helmling@octosoft.eu vor etwa 8 Jahren hinzugefügt
SL/File/Object.pm | ||
---|---|---|
$_[0]->loaded_db_file->file_type;
|
||
}
|
||
|
||
sub file_name {
|
||
$_[0]->loaded_db_file->file_name;
|
||
}
|
||
|
||
sub object_type {
|
||
$_[0]->loaded_db_file->object_type;
|
||
}
|
js/kivi.File.js | ||
---|---|---|
, modal: true } });
|
||
return true;
|
||
}
|
||
|
||
|
||
ns.renameclose = function() {
|
||
$("#rename_dialog").dialog('close');
|
||
return false;
|
||
}
|
||
|
||
|
||
ns.renameaction = function() {
|
||
$("#rename_dialog").dialog('close');
|
||
var data = {
|
||
... | ... | |
$.post("controller.pl", data, kivi.eval_json_result);
|
||
return true;
|
||
}
|
||
|
||
|
||
ns.askForRename = function(file_id,file_name,sessionfile,next_ids,is_global) {
|
||
$('#newfilename_id').val(file_name);
|
||
$('#rename_id_id').val(file_id);
|
||
... | ... | |
}
|
||
catch(err2) { fname ='';}
|
||
$("#upload_result").html(kivi.t8("filename has not uploadable characters ")+fname);
|
||
return;
|
||
return;
|
||
}
|
||
}
|
||
if ( filesize > maxsize ) {
|
||
... | ... | |
ns.delete = function(id,type,file_type,checkbox_class,is_global) {
|
||
var checkboxes = $('.'+checkbox_class).filter(function () { return $(this).prop('checked'); });
|
||
|
||
if ((checkboxes.size() === 0) ||
|
||
if ((checkboxes.size() === 0) ||
|
||
!confirm(kivi.t8('Do you really want to delete the selected documents?')))
|
||
return false;
|
||
var data = {
|
||
... | ... | |
ns.unimport = function(id,type,file_type,checkbox_class) {
|
||
var checkboxes = $('.'+checkbox_class).filter(function () { return $(this).prop('checked'); });
|
||
|
||
if ((checkboxes.size() === 0) ||
|
||
if ((checkboxes.size() === 0) ||
|
||
!confirm(kivi.t8('Do you really want to unimport the selected documents?')))
|
||
return false;
|
||
var data = {
|
||
... | ... | |
return false;
|
||
}
|
||
|
||
|
||
ns.init = function() {
|
||
}
|
||
|
Auch abrufbar als: Unified diff
001compile.t: Code korrigiert