add translation to js which will be needed for dropping a file on a document

This commit is contained in:
Uwe Steinmann 2023-09-07 15:50:57 +02:00
parent 9493d5e185
commit 6c298030a5

View File

@ -130,7 +130,7 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Theme_Style {
$sitename = trim(strip_tags($this->params['sitename'])); $sitename = trim(strip_tags($this->params['sitename']));
header('Content-Type: application/javascript; charset=UTF-8'); header('Content-Type: application/javascript; charset=UTF-8');
parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder')); parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder', 'must_drop_one_file','confirm_upload_new_version', 'upload_new_version'));
?> ?>
$(document).ready(function() { $(document).ready(function() {
$('#searchfield').focus(); $('#searchfield').focus();