XML to JSON
This commit is contained in:
@ -18,12 +18,11 @@ class DBMSUser
|
||||
|
||||
applyReq(req,fn,node)
|
||||
{
|
||||
//alert(getXMLNodeSerialisation(node));
|
||||
this.showShadow(false);
|
||||
if (fn==-1)
|
||||
{
|
||||
alert(findFirstNode(node,'#cdata-section').nodeValue);
|
||||
}else
|
||||
if(node.errorCode>0) {
|
||||
alert2(trt('Alert'), node.errorMessage);
|
||||
}
|
||||
|
||||
if(fn==7)
|
||||
{
|
||||
var nCmd=findFirstNode(node, "cmd");
|
||||
@ -95,7 +94,7 @@ class DBMSUser
|
||||
deleteHTML('TWin_CL_'+this.win.uid); //Удаляю кнопку закрыть
|
||||
this.win.setCaption(trt('Authorization'));
|
||||
|
||||
this.win.setSize("350px","200px");
|
||||
this.win.setSize("350px","184px");
|
||||
|
||||
var str='<div style="width: 100%; height: 100%; padding: 3px; text-align: left;">\n\
|
||||
<table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\
|
||||
|
||||
Reference in New Issue
Block a user