XML to JSON

This commit is contained in:
2023-10-23 13:40:20 +06:00
parent 4ddea79113
commit f3618efc7e
7 changed files with 11177 additions and 264 deletions

View File

@ -102,7 +102,7 @@ class EdtRec
{
field.value=value;
}else{
console.error('Field "'+propName+'" not found!');
log.error('Field "'+propName+'" not found!');
}
}
@ -1202,8 +1202,9 @@ class EdtRec
applyReq(req,fn,node,xmldoc,win)
{
this.hideProgressBar();
if (fn==-1) {
let fullText = findFirstNode(node,'#cdata-section').nodeValue;
if(node.errorCode>0) {
let fullText = node.errorMessage;
let smallText = '';
let pos1=fullText.indexOf('[[');
let pos2=fullText.indexOf(']]');
@ -1224,7 +1225,9 @@ class EdtRec
else
alert2(trt('Alert'), fullText);
}
} else
return;
}
if (fn==0) {
this.eRecNo(node,this.record_id);
} else