diff --git a/gulliver/js/common/core/common.js b/gulliver/js/common/core/common.js index 3a82c69f1..2936dcc65 100755 --- a/gulliver/js/common/core/common.js +++ b/gulliver/js/common/core/common.js @@ -494,6 +494,7 @@ function popupWindow ( title , url, width, height, callbackFn , autoSizeWidth, a var myPanel = new leimnud.module.panel(); currentPopupWindow = myPanel; myPanel.options = { + limit: true, size:{w:width,h:height}, position:{center:true}, title: title, diff --git a/gulliver/js/maborak/core/maborak.js b/gulliver/js/maborak/core/maborak.js index 22a8a9a13..a7e941fc0 100644 --- a/gulliver/js/maborak/core/maborak.js +++ b/gulliver/js/maborak/core/maborak.js @@ -518,7 +518,7 @@ function var_dump(obj) {dump+=o+'('+typeof(obj[o])+'):'+obj[o]+"\n";}} else dump=obj;return dump;} -var currentPopupWindow;function popupWindow(title,url,width,height,callbackFn,autoSizeWidth,autoSizeHeight,modal,showModalColor){modal=(modal===false)?false:true;showModalColor=(showModalColor===false)?false:true;var myPanel=new leimnud.module.panel();currentPopupWindow=myPanel;myPanel.options={size:{w:width,h:height},position:{center:true},title:title,theme:"processmaker",control:{close:true,roll:false,drag:true,resize:false},fx:{blinkToFront:true,opacity:true,drag:true,modal:modal}};if(showModalColor===true) +var currentPopupWindow;function popupWindow(title,url,width,height,callbackFn,autoSizeWidth,autoSizeHeight,modal,showModalColor){modal=(modal===false)?false:true;showModalColor=(showModalColor===false)?false:true;var myPanel=new leimnud.module.panel();currentPopupWindow=myPanel;myPanel.options={limit:true,size:{w:width,h:height},position:{center:true},title:title,theme:"processmaker",control:{close:true,roll:false,drag:true,resize:false},fx:{blinkToFront:true,opacity:true,drag:true,modal:modal}};if(showModalColor===true) {} else {myPanel.styles.fx.opacityModal.Static='0';}