Commit 5d4f53fd authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

Workspace: select workspace upon connect if no other is connected

parent 6a8de1fd
......@@ -97,6 +97,9 @@ define([
this.on("connected", function() {
this._setState("connected");
this._finishConnect(null);
var m = this._class._members;
if (m.current === null)
m.current = this.id;
});
this.on("disconnecting", function() {
......@@ -109,10 +112,8 @@ define([
});
// autoconnect ?
if (config.auto_connect) {
if (config.auto_connect)
this.connect();
}
},
/** indent: 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment