}
// else, auto init session or wait for a user init?
if (this.useSessions && paramArray.autoInit !== false) {
- this.init(this.sessionId, this.serviceId);
+ this.init(this.sessionID, this.serviceId);
}
// Version parameter
this.version = paramArray.version || null;
context.throwError('Show failed. Malformed WS resonse.',
114);
};
+
var approxNode = data.getElementsByTagName("approximation");
- if (approxNode)
+ if (approxNode && approxNode[0] && approxNode[0].childNodes[0] && approxNode[0].childNodes[0].nodeValue)
show['approximation'] =
Number( approxNode[0].childNodes[0].nodeValue);