This commit is contained in:
2020-06-19 11:56:29 +06:00
5 changed files with 2767 additions and 23 deletions

View File

@ -564,8 +564,9 @@ class EdtRec
input.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n")+"_visible");
input.setAttribute("value","");
newCell1.appendChild(input);
//The hidden field where the data is saved (you can make it stored in XML)
var hidden = document.createElement('hidden');
//The hidden field where the data is saved (you can make it stored in XML)_
let hidden = document.createElement('input');
hidden.setAttribute("type", "hidden");
hidden.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n"));
hidden.value=value;
newCell1.appendChild(hidden);
@ -890,10 +891,12 @@ class EdtRec
rec.f_TypeName=typeName;
rec.win.setLeftTop(pageX-250,pageY-10);
rec.win.setParent(this.win);
if(rec.request.callServer(ScriptName,'<?xml version="1.0" encoding="utf-8"?><metadata fn="0"><type n="'+rec.f_TypeName+'"></type></metadata>'))
rec.callData(rec.f_TypeName,"");
/*if(rec.request.callServer(ScriptName,'<?xml version="1.0" encoding="utf-8"?><metadata fn="0"><type n="'+rec.f_TypeName+'"></type></metadata>'))
{
rec.showProgressBar();
}
}*/
}
//Call the ShowRecord.html window with the parameters for the filter (not just the object name).
@ -919,7 +922,7 @@ class EdtRec
if(sub2==null) break;
var val=BeforeFirst(AfterFirst(xmlString,"${"),"}");
obj=document.getElementById("prop_"+this.uid+"_"+val);
let obj=document.getElementById("prop_"+this.uid+"_"+val);
if(obj!=null){
xmlString=sub1+obj.value+sub2;
}else{