mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
make deletion of folders and documents work
This commit is contained in:
parent
ffdcbd0ce0
commit
7640660284
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user