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:
Julio Cesar Laura
2013-02-07 04:02:03 -04:00
parent e284412920
commit 1c841058de
2 changed files with 2 additions and 1 deletions

View File

@@ -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,

View File

@@ -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';}