You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2013/09/06 11:56:25 UTC
git commit: AMBARI-3123. NameNode HA Wizard: hitting refresh on
Select Hosts / Review pages breaks the wizard
Updated Branches:
refs/heads/trunk e6a05f414 -> 747bd1e31
AMBARI-3123. NameNode HA Wizard: hitting refresh on Select Hosts / Review pages breaks the wizard
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/747bd1e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/747bd1e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/747bd1e3
Branch: refs/heads/trunk
Commit: 747bd1e310ce480098dfabd20a20577f3ec5c7cd
Parents: e6a05f4
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Sep 6 12:48:47 2013 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Sep 6 12:48:47 2013 +0300
----------------------------------------------------------------------
ambari-web/app/routes/high_availability_routes.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/747bd1e3/ambari-web/app/routes/high_availability_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/high_availability_routes.js b/ambari-web/app/routes/high_availability_routes.js
index 60b5f04..eca41be 100644
--- a/ambari-web/app/routes/high_availability_routes.js
+++ b/ambari-web/app/routes/high_availability_routes.js
@@ -40,8 +40,9 @@ module.exports = Em.Route.extend({
onClose: function () {
this.hide();
+ App.router.get('highAvailabilityWizardController').setCurrentStep('1');
App.router.get('updateController').set('isWorking', true);
- App.router.transitionTo('main.admin.adminHighAvailability')
+ App.router.transitionTo('main.admin.adminHighAvailability');
},
didInsertElement: function () {
this.fitHeight();
@@ -57,7 +58,8 @@ module.exports = Em.Route.extend({
highAvailabilityWizardController.setCurrentStep(currentClusterStatus.localdb.HighAvailabilityWizard.currentStep);
break;
default:
- highAvailabilityWizardController.setCurrentStep('1');
+ var currStep = App.router.get('highAvailabilityWizardController.currentStep');
+ highAvailabilityWizardController.setCurrentStep(currStep);
break;
}
}