ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [28/50] ambari git commit: AMBARI-13514. Service deploy wizard is not always restored to the correct state If browser session is lost while deploy is running (alexantonenko)
Date Tue, 26 Jan 2016 21:45:31 GMT
AMBARI-13514. Service deploy wizard is not always restored to the correct state If browser
session is lost while deploy is running (alexantonenko)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1fecf136c16af21abefbcab20a328bec9d6b6892
Parents: e41f2dc
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Jan 25 16:55:53 2016 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Mon Jan 25 16:57:59 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/routes/add_service_routes.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1fecf136/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 30bdcbc..8658142 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -82,12 +82,13 @@ module.exports = App.WizardRoute.extend({
                   break;
                 case 'ADD_SERVICES_INSTALLING_3' :
                 case 'SERVICE_STARTING_3' :
-                  addServiceController.setCurrentStep('6');
-                  break;
                 case 'ADD_SERVICES_INSTALLED_4' :
                   addServiceController.setCurrentStep('7');
                   break;
                 default:
+                  if(App.db.data.AddService.currentStep != undefined) {
+                    addServiceController.setCurrentStep(App.db.data.AddService.currentStep);
+                  }
                   break;
               }
             }


Mime
View raw message