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

Fix browser history handling, Refs #2299

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