mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-15 09:39:17 +00:00
fix deleting a document by clicking on the icon in the document list
This commit is contained in:
parent
d2c680280b
commit
c6470efc6f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user