Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
5d4f53fd
Commit
5d4f53fd
authored
Aug 11, 2017
by
Benjamin Fischer
Browse files
Workspace: select workspace upon connect if no other is connected
parent
6a8de1fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/static/js/workspace.js
View file @
5d4f53fd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment