mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/langs/en_US/admin.lang
This commit is contained in:
@@ -990,6 +990,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>';
|
||||
@@ -1004,6 +1005,7 @@ function document_preview(file, type, title)
|
||||
}
|
||||
|
||||
$("#dialogforpopup").html(newElem);
|
||||
|
||||
$("#dialogforpopup").dialog({
|
||||
closeOnEscape: true,
|
||||
resizable: true,
|
||||
|
||||
Reference in New Issue
Block a user