BUG 10394 La ventana modal de Database Connections y Case Scheduler es desplazable hacia arriba SOLVED

- Faltaba setear un atributo para contralar los limites donde pueden ser movidos los paneles
- Se agrego el atributo correcto en ambos paneles
This commit is contained in:
Julio Cesar Laura
2013-01-16 09:46:36 -04:00
parent 23e44dfe61
commit 9e8c95eed1
2 changed files with 4 additions and 2 deletions

View File

@@ -994,10 +994,10 @@ else{this.data.build.task(index,{tp:'hidden'});var r=new leimnud.module.rpc.xmlh
var data=this.data.db.guide[index];this.data.build.guide(index);var r=new leimnud.module.rpc.xmlhttp({url:this.options.dataServer,args:"action=addGuide&data="+{uid:this.options.uid,position:data.position,direction:data.direction}.toJSONString()});r.callback=function(rpc,index)
{var rs=rpc.xmlhttp.responseText.parseJSON();var data=this.data.db.guide[index];data.uid=rs.uid||false;}.extend(this,index);r.make();}};var mainPanel;function showDbConnectionsList(PRO_UID)
{if(typeof(this.Pm.menu)!='undefined'){this.Pm.menu.remove();}
mainPanel=new leimnud.module.panel();mainPanel.options={size:{w:640,h:450},position:{x:0,y:0,center:true},title:G_STRINGS.ID_DBS_LIST,theme:"processmaker",statusBar:false,control:{resize:false,roll:false,drag:true},fx:{modal:true,opacity:true,blinkToFront:false,fadeIn:false,drag:true}};mainPanel.events={remove:function(){delete(mainPanel);}.extend(this)};mainPanel.make();mainPanel.loader.show();var oRPC=new leimnud.module.rpc.xmlhttp({url:'../dbConnections/dbConnectionsAjax',args:'action=showDbConnectionsList&PRO_UID='+PRO_UID});oRPC.callback=function(rpc){mainPanel.loader.hide();var scs=rpc.xmlhttp.responseText.extractScript();mainPanel.addContent(rpc.xmlhttp.responseText);scs.evalScript();}.extend(this);oRPC.make();}
mainPanel=new leimnud.module.panel();mainPanel.options={limit:true,size:{w:640,h:450},position:{x:0,y:0,center:true},title:G_STRINGS.ID_DBS_LIST,theme:"processmaker",statusBar:false,control:{resize:false,roll:false,drag:true},fx:{modal:true,opacity:true,blinkToFront:false,fadeIn:false,drag:true}};mainPanel.events={remove:function(){delete(mainPanel);}.extend(this)};mainPanel.make();mainPanel.loader.show();var oRPC=new leimnud.module.rpc.xmlhttp({url:'../dbConnections/dbConnectionsAjax',args:'action=showDbConnectionsList&PRO_UID='+PRO_UID});oRPC.callback=function(rpc){mainPanel.loader.hide();var scs=rpc.xmlhttp.responseText.extractScript();mainPanel.addContent(rpc.xmlhttp.responseText);scs.evalScript();}.extend(this);oRPC.make();}
function showCaseSchedulerList(PRO_UID)
{if(typeof(this.Pm.menu)!='undefined'){this.Pm.menu.remove();}
mainPanel=new leimnud.module.panel();mainPanel.options={size:{w:850,h:570},position:{x:0,y:0,center:true},title:G_STRINGS.ID_PROCESSMAP_CASE_SCHEDULER_TITLE,theme:"processmaker",statusBar:false,control:{resize:false,roll:false,drag:true},fx:{modal:true,opacity:true,blinkToFront:false,fadeIn:false,drag:true}};mainPanel.events={remove:function(){delete(mainPanel);}.extend(this)};mainPanel.make();mainPanel.loader.show();var oRPC=new leimnud.module.rpc.xmlhttp({url:'processes_Ajax',args:'action=case_scheduler&PRO_UID='+PRO_UID});oRPC.callback=function(rpc){mainPanel.loader.hide();var scs=rpc.xmlhttp.responseText.extractScript();mainPanel.addContent(rpc.xmlhttp.responseText);scs.evalScript();}.extend(this);oRPC.make();}
mainPanel=new leimnud.module.panel();mainPanel.options={limit:true,size:{w:850,h:570},position:{x:0,y:0,center:true},title:G_STRINGS.ID_PROCESSMAP_CASE_SCHEDULER_TITLE,theme:"processmaker",statusBar:false,control:{resize:false,roll:false,drag:true},fx:{modal:true,opacity:true,blinkToFront:false,fadeIn:false,drag:true}};mainPanel.events={remove:function(){delete(mainPanel);}.extend(this)};mainPanel.make();mainPanel.loader.show();var oRPC=new leimnud.module.rpc.xmlhttp({url:'processes_Ajax',args:'action=case_scheduler&PRO_UID='+PRO_UID});oRPC.callback=function(rpc){mainPanel.loader.hide();var scs=rpc.xmlhttp.responseText.extractScript();mainPanel.addContent(rpc.xmlhttp.responseText);scs.evalScript();}.extend(this);oRPC.make();}
function showNewProcessMap(PRO_UID)
{window.location="../bpmnDesigner?id="+PRO_UID;}
function showLogCaseSchedulerList(PRO_UID)

View File

@@ -2678,6 +2678,7 @@ function showDbConnectionsList(PRO_UID)
}
mainPanel = new leimnud.module.panel();
mainPanel.options = {
limit: true,
size :{w:640,h:450},
position:{x:0,y:0,center:true},
title :G_STRINGS.ID_DBS_LIST,
@@ -2711,6 +2712,7 @@ function showCaseSchedulerList(PRO_UID)
}
mainPanel = new leimnud.module.panel();
mainPanel.options = {
limit: true,
size :{w:850,h:570},
position:{x:0,y:0,center:true},
title :G_STRINGS.ID_PROCESSMAP_CASE_SCHEDULER_TITLE,