Commit 5491a216 authored by asseldonk's avatar asseldonk
Browse files

fix bugs in workspace setup

parent 86e78f43
......@@ -843,9 +843,6 @@ define([
self.varData.loadingUI = false;
self.varData.loadedUI = true;
if (!self.isManaged()) {
self.juggler.attach(self, self.nodes.$mainMenuButton, self.nodes.$workspace);
}
if (!self._centerJuggler) {
self._centerJuggler = new VispaUI.UIJuggler(
self.nodes.views.center.$tabs,
......@@ -860,6 +857,9 @@ define([
.on('juggler.focus' , self.saveFragment.bind(self))
.on('juggler.blur' , self.saveFragment.bind(self));
}
if (!self.isManaged()) {
self.juggler.attach(self, self.nodes.$mainMenuButton, self.nodes.$workspace);
}
self.logger.debug("loaded");
self.emit("loaded");
......
Supports Markdown
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