Protection against more than one instance of UI

This commit is contained in:
Luis Fernando Molina committed 2020-03-27 19:26:18 +01:00
1 parent b311378b44
commit 6cf4572595
4 files changed
+29 -11

No files matched your search

+4
View File
@@ -119,6 +119,10 @@ function newSystemEventHandler () {
}
}
}
if (thisObject.isConnected() !== true) {
canvas.cockpitSpace.setStatus('Lost connection with the local backend. Please check that all localhost servers are running.', 100, canvas.cockpitSpace.statusTypes.WARNING)
}
}
function setuptWebSockets (callBackFunction) {