|
@ -1414,7 +1414,12 @@ function mywgRemoveClosedConnection(){ |
|
|
n.data = n.data.replace(/(\r\n|\n|\r|\t)/g,""); |
|
|
n.data = n.data.replace(/(\r\n|\n|\r|\t)/g,""); |
|
|
//console.log(n);
|
|
|
//console.log(n);
|
|
|
//console.log(n.data);
|
|
|
//console.log(n.data);
|
|
|
|
|
|
try { |
|
|
var interfaces = JSON.parse(n.data); |
|
|
var interfaces = JSON.parse(n.data); |
|
|
|
|
|
|
|
|
|
|
|
} catch (err) { |
|
|
|
|
|
console.error(err); |
|
|
|
|
|
} |
|
|
var datalenth = interfaces.length |
|
|
var datalenth = interfaces.length |
|
|
// interfaces found with connection=yes or no
|
|
|
// interfaces found with connection=yes or no
|
|
|
for (var i=0 ; i < datalenth ; i++) |
|
|
for (var i=0 ; i < datalenth ; i++) |
|
|