Славка перед карантином

This commit is contained in:
2020-03-28 08:00:22 +06:00
parent 44f3b72b71
commit 84bbb2bde3
5 changed files with 2767 additions and 23 deletions

View File

@ -570,8 +570,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);
@ -896,10 +897,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).
@ -925,7 +928,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{