Commit d7ddf7c6 authored by Marcel's avatar Marcel
Browse files

Trigger url interpretation after workspace connection.

parent 2883013e
......@@ -76,12 +76,7 @@ var Vispa = Class.extend({
this.urlHandler.wrappHistory(function() {
_this.handleUrlParameters.apply(_this, arguments);
});
// call the callback once
$(window).load(function() {
window.setTimeout(function() {
//_this.urlHandler.workflow.wrappedCallback();
}, 0);
});
// the callback is called once when the workspace is connected
return this;
},
......
......@@ -305,6 +305,7 @@ var WorkspaceManager = VispaModule.extend({
_this.vispa.pathBar.setValue(workspace.basedir);
// close all full instances
_this.vispa.extensionManager.removeAllFullInstances();
_this.vispa.urlHandler.workflow.wrappedCallback();
_this.vispa.setLoading(false);
} else {
var callback = function() {
......
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