Author: yusaku
Date: Tue Jan 22 21:52:52 2013
New Revision: 1437201

URL: http://svn.apache.org/viewvc?rev=1437201&view=rev
Log:
AMBARI-1247. Disable links for previous steps in left nav on Summary step. 
(yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/routes/add_host_routes.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1437201&r1=1437200&r2=1437201&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Jan 22 21:52:52 2013
@@ -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

Modified: incubator/ambari/trunk/ambari-web/app/routes/add_host_routes.js
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/routes/add_host_routes.js?rev=1437201&r1=1437200&r2=1437201&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/routes/add_host_routes.js (original)
+++ incubator/ambari/trunk/ambari-web/app/routes/add_host_routes.js Tue Jan 22 
21:52:52 2013
@@ -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'));
       })
     },


Reply via email to