2
0
forked from Wavyzz/dolibarr

FIX deprecated module are not more viewed as external modules

Trans debugbar
This commit is contained in:
Laurent Destailleur
2022-05-03 12:08:24 +02:00
parent 0cc3eec599
commit affde55169
5 changed files with 17 additions and 9 deletions

View File

@@ -963,6 +963,7 @@ function document_preview(file, type, title)
img.src = file;
}
function show_preview(mode) {
/* console.log("mode="+mode+" file="+file+" type="+type+" width="+width+" height="+height); */
var newElem = '<object name="objectpreview" data="'+file+'" type="'+type+'" width="'+object_width+'" height="'+object_height+'" param="noparam"></object>';
@@ -977,6 +978,7 @@ function document_preview(file, type, title)
}
$("#dialogforpopup").html(newElem);
$("#dialogforpopup").dialog({
closeOnEscape: true,
resizable: true,