ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-6493. Move Wizard: disable menu while loading (alexantonenko)
Date Tue, 15 Jul 2014 17:59:38 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 662f9bdb8 -> a4c242b8b


AMBARI-6493. Move Wizard: disable menu while loading (alexantonenko)


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

Branch: refs/heads/trunk
Commit: a4c242b8b39dcbca073d2491271811fde2dff998
Parents: 662f9bd
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Tue Jul 15 20:56:33 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue Jul 15 20:56:33 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/reassign_master_routes.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a4c242b8/ambari-web/app/routes/reassign_master_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/reassign_master_routes.js b/ambari-web/app/routes/reassign_master_routes.js
index dbcfcdf..26ee6c1 100644
--- a/ambari-web/app/routes/reassign_master_routes.js
+++ b/ambari-web/app/routes/reassign_master_routes.js
@@ -182,9 +182,9 @@ module.exports = App.WizardRoute.extend({
       console.log('in reassignMaster.step4:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('4');
+      controller.setLowerStepsDisable(4);
       controller.dataLoading().done(function () {
         controller.loadAllPriorSteps();
-        controller.setLowerStepsDisable(4);
         controller.connectOutlet('reassignMasterWizardStep4', controller.get('content'));
       })
     },
@@ -256,9 +256,9 @@ module.exports = App.WizardRoute.extend({
       console.log('in reassignMaster.step6:connectOutlets');
       var controller = router.get('reassignMasterController');
       controller.setCurrentStep('6');
+      controller.setLowerStepsDisable(6);
       controller.dataLoading().done(function () {
         controller.loadAllPriorSteps();
-        controller.setLowerStepsDisable(6);
         controller.connectOutlet('reassignMasterWizardStep6', controller.get('content'));
       })
     },


Mime
View raw message