make deletion of folders and documents work

This commit is contained in:
Uwe Steinmann 2016-02-09 12:36:19 +01:00
parent ffdcbd0ce0
commit 7640660284

View File

@ -33,6 +33,7 @@ class SeedDMS_View_AttributeMgr extends SeedDMS_Bootstrap_Style {
function js() { /* {{{ */
$selattrdef = $this->params['selattrdef'];
header('Content-Type: application/javascript');
?>
$(document).ready( function() {
@ -45,6 +46,8 @@ $(document).ready( function() {
});
});
<?php
$this->printDeleteFolderButtonJs();
$this->printDeleteDocumentButtonJs();
} /* }}} */
function info() { /* {{{ */
@ -242,6 +245,8 @@ $(document).ready( function() {
$attrdefs = $this->params['attrdefs'];
$selattrdef = $this->params['selattrdef'];
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js');
$this->htmlStartPage(getMLText("admin_tools"));
$this->globalNavigation();
$this->contentStart();