2
0
forked from Wavyzz/dolibarr

close window

This commit is contained in:
Frédéric FRANCE
2018-11-07 22:04:55 +01:00
parent df224e4b54
commit 3ba3a47f20

View File

@@ -918,7 +918,7 @@ function document_preview(file, type, title)
{
optionsbuttons = {
"<?php echo dol_escape_js($langs->transnoentitiesnoconv("OriginalSize")); ?>": function() { console.log("Click on original size"); jQuery(".ui-dialog-content.ui-widget-content > object").css({ "max-height": "none" }); },
"<?php echo dol_escape_js($langs->transnoentitiesnoconv("Close")); ?>": function() { $( this ).dialog( "close" ); }
"<?php echo dol_escape_js($langs->transnoentitiesnoconv("CloseWindow")); ?>": function() { $( this ).dialog( "close" ); }
};
}