fix deleting a document by clicking on the icon in the document list

This commit is contained in:
Uwe Steinmann 2022-05-31 14:24:45 +02:00
parent d2c680280b
commit c6470efc6f

View File

@ -42,6 +42,7 @@ class SeedDMS_View_MyDocuments extends SeedDMS_Theme_Style {
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'));
$this->printDeleteDocumentButtonJs();
$this->printClickDocumentJs(); $this->printClickDocumentJs();
?> ?>
$(document).ready( function() { $(document).ready( function() {
@ -787,8 +788,6 @@ $(document).ready( function() {
$db = $dms->getDB(); $db = $dms->getDB();
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js');
$this->htmlStartPage(getMLText("my_documents")); $this->htmlStartPage(getMLText("my_documents"));
$this->globalNavigation(); $this->globalNavigation();
$this->contentStart(); $this->contentStart();