Commit ccb52dbc authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Fix browser history handling, Refs #2299

parent 4b71a0a4
Changelog Changelog
========= =========
Development
-----------
* Fix history handling (#2299)
v0.9.11 v0.9.11
------- -------
......
...@@ -624,9 +624,9 @@ ...@@ -624,9 +624,9 @@
this.loaded = true; this.loaded = true;
// application start point // application start point
this.show_initial_view();
this.check_empty(); this.check_empty();
this.show_initial_view();
}, },
load: function() { load: function() {
......
...@@ -70,14 +70,13 @@ ...@@ -70,14 +70,13 @@
show_welcome: function() { show_welcome: function() {
if (snf.storage.vms.length == 0) { if (snf.storage.vms.length == 0) {
ui.main.show_empty(); ui.main.show_empty();
this.navigate("welcome/");
} else { } else {
this.index(); this.index();
} }
}, },
index: function() { index: function() {
this.vms_index(); ui.main.show_view("icon");
}, },
vms_index: function() { vms_index: function() {
......
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