Browse Source

AMBARI-1247. Disable links for previous steps in left nav on Summary step. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1437201 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
8d00101aba
2 changed files with 6 additions and 0 deletions
  1. 3 0
      CHANGES.txt
  2. 3 0
      ambari-web/app/routes/add_host_routes.js

+ 3 - 0
CHANGES.txt

@@ -17,6 +17,9 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1247. Disable links for previous steps in left nav on Summary step.
+ (yusaku)
+
  AMBARI-1246. Add user minor improvements. (yusaku)
 
  AMBARI-1245. Do not let the user go back to the previous step while host

+ 3 - 0
ambari-web/app/routes/add_host_routes.js

@@ -283,6 +283,9 @@ module.exports = Em.Route.extend({
       controller.setCurrentStep('6');
       controller.dataLoading().done(function () {
         controller.loadAllPriorSteps();
+        if (!App.testMode) {              //if test mode is ON don't disable prior steps link.
+          controller.setLowerStepsDisable(6);
+        }
         controller.connectOutlet('wizardStep10', controller.get('content'));
       })
     },