include javascript translations

This commit is contained in:
Uwe Steinmann 2020-05-13 16:05:33 +02:00
parent b2bd2e4be2
commit 164efbeb49
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class SeedDMS_View_AttributeMgr extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
$selattrdef = $this->params['selattrdef'];
header('Content-Type: application/javascript');
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'));
?>
$(document).ready( function() {

View File

@ -39,6 +39,7 @@ class SeedDMS_View_Categories extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
$selcat = $this->params['selcategory'];
header('Content-Type: application/javascript');
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'));
?>
$(document).ready( function() {
$( "#selector" ).change(function() {