Task #0001417: Reconnexion souple

connect

Signed-off-by: sparkyx <danydb@noalyss.eu>
This commit is contained in:
sparkyx 2021-06-11 17:12:39 +02:00
parent 8ea668ed86
commit c123c78eb8
13 changed files with 97 additions and 56 deletions

View file

@ -192,6 +192,7 @@ var ManageTable = function (p_table_name)
*/
this.parseXML = function (req) {
try {
if (req.responseText==='NOCONX') { reconnect();throw new Error("NOCONX") ;}
var xml = req.responseXML;
var status = xml.getElementsByTagName("status");
var ctl = xml.getElementsByTagName("ctl");