add js for operations on documents

This commit is contained in:
Uwe Steinmann 2021-04-27 21:00:26 +02:00
parent 3f40dce22d
commit 1a6f2e9b17

View File

@ -29,6 +29,10 @@ class SeedDMS_View_RemoveUserFromProcesses extends SeedDMS_Theme_Style {
public function js() { /* {{{ */
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'));
$this->printDeleteDocumentButtonJs();
/* Add js for catching click on document in one page mode */
$this->printClickDocumentJs();
?>
$(document).ready( function() {
$('body').on('click', 'label.checkbox', function(ev){