You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/06/19 11:53:46 UTC

[ambari] branch trunk updated: AMBARI-24138 Customer cannot back from step 4 to step 3 during adding a new host to cluster

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 3ba2ce3  AMBARI-24138 Customer cannot back from step 4 to step 3 during adding a new host to cluster
3ba2ce3 is described below

commit 3ba2ce3e2b7b708687a1f4fb37e5e44c333cc646
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Mon Jun 18 16:52:14 2018 +0300

    AMBARI-24138 Customer cannot back from step 4 to step 3 during adding a new host to cluster
---
 ambari-web/app/routes/add_host_routes.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/routes/add_host_routes.js b/ambari-web/app/routes/add_host_routes.js
index f1fc892..d6917f4 100644
--- a/ambari-web/app/routes/add_host_routes.js
+++ b/ambari-web/app/routes/add_host_routes.js
@@ -228,8 +228,9 @@ module.exports = App.WizardRoute.extend({
     },
     backTransition: function (router) {
       var goToPreviousStep = function() {
-        router.transitionTo(step);
+        router.transitionTo('step3');
       };
+      var wizardStep7Controller = router.get('wizardStep7Controller');
       if (wizardStep7Controller.hasChanges()) {
         wizardStep7Controller.showChangesWarningPopup(goToPreviousStep);
       } else {