BUG 7341 Error al mostrar la informacion de Dynaforms

This issue was fixed, now the fields are still there
This commit is contained in:
Carlos Pacha
2011-08-10 11:09:50 -04:00
parent 9a03ed2b0e
commit dbee2b3a94
2 changed files with 18 additions and 19 deletions

View File

@@ -709,31 +709,29 @@ var showDynaforms = function() {
{
oPanel2 = new leimnud.module.panel();
oPanel2.options = {
size :{w:600,h:400},
size :{w:800,h:600},
position:{x:0,y:0,center:true},
title :'',
theme :'processmaker',
statusBar:true,
control :{resize:true,roll:false},
statusBar:false,
control :{resize:false,roll:false},
fx :{modal:true,opacity:true,blinkToFront:true,fadeIn:false}
};
oPanel2.events = {
remove: function() {delete(oPanel2);}.extend(this)
};
oPanel2.make();
oPanel2.loader.show();
var oRPC = new leimnud.module.rpc.xmlhttp({
url : 'cases_Ajax',
args: 'action=showDynaform&DYN_UID='+DYN_UID
});
oRPC.callback = function(rpc){
oPanel2.loader.hide();
var scs=rpc.xmlhttp.responseText.extractScript();
oPanel2.addContent(rpc.xmlhttp.responseText);
scs.evalScript();scs.evalScript();
}.extend(this);
oRPC.make();
var iframe=document.createElement('iframe');
iframe.setAttribute('id','dynaFormIframe');
iframe.src = 'cases_Ajax?action=showDynaform&DYN_UID='+DYN_UID;
iframe.style.border='0px';
iframe.style.width='790';
iframe.style.height=_client.height-20;
oPanel2.addContent(iframe);
}
function showDynaformHistory(DYN_UID,HISTORY_ID)
{
oPanel2 = new leimnud.module.panel();