BUG 10696 Es posible desplazar las ventanas modales hacia cualquier lado y no se puede cerrarlas SOLVED
- Missing atributte in popupWindow control - Add attributeto the function
This commit is contained in:
@@ -494,6 +494,7 @@ function popupWindow ( title , url, width, height, callbackFn , autoSizeWidth, a
|
|||||||
var myPanel = new leimnud.module.panel();
|
var myPanel = new leimnud.module.panel();
|
||||||
currentPopupWindow = myPanel;
|
currentPopupWindow = myPanel;
|
||||||
myPanel.options = {
|
myPanel.options = {
|
||||||
|
limit: true,
|
||||||
size:{w:width,h:height},
|
size:{w:width,h:height},
|
||||||
position:{center:true},
|
position:{center:true},
|
||||||
title: title,
|
title: title,
|
||||||
|
|||||||
@@ -518,7 +518,7 @@ function var_dump(obj)
|
|||||||
{dump+=o+'('+typeof(obj[o])+'):'+obj[o]+"\n";}}
|
{dump+=o+'('+typeof(obj[o])+'):'+obj[o]+"\n";}}
|
||||||
else
|
else
|
||||||
dump=obj;return dump;}
|
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
|
else
|
||||||
{myPanel.styles.fx.opacityModal.Static='0';}
|
{myPanel.styles.fx.opacityModal.Static='0';}
|
||||||
|
|||||||
Reference in New Issue
Block a user