XML to JSON
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user