ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-9815. Move Master Wizard: Deploy blocked after refresh on Review step. (akovalenko)
Date Thu, 26 Feb 2015 15:52:42 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 859416425 -> 05348ff9e


AMBARI-9815. Move Master Wizard: Deploy blocked after refresh on Review step. (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/05348ff9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/05348ff9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/05348ff9

Branch: refs/heads/trunk
Commit: 05348ff9e0e7d487168629cc1d28ccba36c95384
Parents: 8594164
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Thu Feb 26 16:50:30 2015 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Thu Feb 26 17:52:05 2015 +0200

----------------------------------------------------------------------
 .../app/controllers/main/service/reassign_controller.js     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/05348ff9/ambari-web/app/controllers/main/service/reassign_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/reassign_controller.js b/ambari-web/app/controllers/main/service/reassign_controller.js
index adb0fad..daa74ba 100644
--- a/ambari-web/app/controllers/main/service/reassign_controller.js
+++ b/ambari-web/app/controllers/main/service/reassign_controller.js
@@ -333,6 +333,15 @@ App.ReassignMasterController = App.WizardController.extend({
     this.set('content.cluster', this.getCluster());
   },
 
+  setCurrentStep: function (currentStep, completed) {
+    this._super(currentStep, completed);
+    App.clusterStatus.setClusterStatus({
+      clusterName: this.get('content.cluster.name'),
+      wizardControllerName: 'reassignMasterController',
+      localdb: App.db.data
+    });
+  },
+
   /**
    * Clear all temporary data
    */


Mime
View raw message