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-16824. Add Service: links to previous steps become available after refresh on step7 (akovalenko)
Date Tue, 24 May 2016 09:25:11 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 60f51883d -> b8207e07e


AMBARI-16824. Add Service: links to previous steps become available after refresh on step7
(akovalenko)


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

Branch: refs/heads/branch-2.4
Commit: b8207e07e0de85df0c31a14613093d4637e862cc
Parents: 60f5188
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Mon May 23 21:21:02 2016 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Tue May 24 12:24:58 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/add_service_routes.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b8207e07/ambari-web/app/routes/add_service_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js
index a69068a..ef6ea6d 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -71,7 +71,7 @@ module.exports = App.WizardRoute.extend({
                   addServiceController.setCurrentStep('7');
                   break;
                 default:
-                  if(App.db.data.AddService.currentStep != undefined) {
+                  if(App.db.data.AddService.currentStep && App.db.data.AddService.currentStep
!== addServiceController.get('currentStep')) {
                     addServiceController.setCurrentStep(App.db.data.AddService.currentStep);
                   }
                   break;


Mime
View raw message