in the middle of the work for authentication

This commit is contained in:
Marc Wäckerlin
2016-07-29 19:25:06 +00:00
parent bdaebcc92f
commit 82bb795b85
9 changed files with 338 additions and 90 deletions

View File

@@ -8,7 +8,7 @@
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
var socket = io.connect();
var socket = null;
var focused = null;
var docker = new Docker();
@@ -597,6 +597,12 @@ function initForms() {
}
function init() {
$("#logout").attr("href",
window.location.protocol+"//X:X@"
+window.location.hostname
+(window.location.port?":":"")+window.location.port
+window.location.pathname);
socket = io.connect();
socket.io
.on("connect", connected)
.on("reconnect", connected)