debug code
This commit is contained in:
parent
3114c5afdc
commit
d2fc2e26ea
|
@ -370,9 +370,15 @@ function getExt(name) {
|
||||||
let sAlertMapping = localStorage.getItem("alertMapping");
|
let sAlertMapping = localStorage.getItem("alertMapping");
|
||||||
let sAlertCount = localStorage.getItem("alertCount");
|
let sAlertCount = localStorage.getItem("alertCount");
|
||||||
if(sAlertList!=""&&sAlertMapping!=""&&sAlertCount!="") {
|
if(sAlertList!=""&&sAlertMapping!=""&&sAlertCount!="") {
|
||||||
|
console.log("sAlertList",sAlertList)
|
||||||
|
console.log("sAlertMapping",sAlertMapping)
|
||||||
|
console.log("sAlertCount",sAlertCount)
|
||||||
alertList = JSON.parse(sAlertList)
|
alertList = JSON.parse(sAlertList)
|
||||||
alertMapping = JSON.parse(sAlertMapping)
|
alertMapping = JSON.parse(sAlertMapping)
|
||||||
alertCount = parseInt(sAlertCount)
|
alertCount = parseInt(sAlertCount)
|
||||||
|
console.log("alertList",alertList)
|
||||||
|
console.log("alertMapping",alertMapping)
|
||||||
|
console.log("alertCount",alertCount)
|
||||||
for(var i=0; i<al.length; i++) loadAlerts(al[i],true);
|
for(var i=0; i<al.length; i++) loadAlerts(al[i],true);
|
||||||
} else for(var i=0; i<al.length; i++) loadAlerts(al[i]);
|
} else for(var i=0; i<al.length; i++) loadAlerts(al[i]);
|
||||||
if(window["WebSocket"]) runWebSockets();
|
if(window["WebSocket"]) runWebSockets();
|
||||||
|
|
Loading…
Reference in New Issue