1
0
Fork 0

fixed routing problem after cancelling plannig a cluster

This commit is contained in:
gschwab 2014-03-03 15:19:20 +01:00
parent 702eeb90e8
commit cedc1cf591
1 changed files with 5 additions and 7 deletions

View File

@ -18,13 +18,11 @@
}, },
cancel: function() { cancel: function() {
cancel: function() { if(window.App.clusterPlan.get("plan")) {
if(window.App.clusterPlan.get("plan")) { window.App.navigate("handleClusterDown", {trigger: true});
window.App.navigate("handleClusterDown", {trigger: true}); } else {
} else { window.App.navigate("planScenario", {trigger: true});
window.App.navigate("planScenario", {trigger: true}); }
}
},
}, },
startPlan: function() { startPlan: function() {