You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2018/07/20 13:45:54 UTC

[ambari] branch branch-2.7 updated: AMBARI-24315. Clicking on password warnings doesn't update the service tab navigation (akovalenko)

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

akovalenko pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 89a1a3d  AMBARI-24315. Clicking on password warnings doesn't update the service tab navigation (akovalenko)
89a1a3d is described below

commit 89a1a3d3cb37750a0d4886b1e8e2fb02469dbcc8
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Thu Jul 19 18:26:06 2018 +0300

    AMBARI-24315. Clicking on password warnings doesn't update the service tab navigation (akovalenko)
---
 ambari-web/app/controllers/wizard/step7_controller.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index abb4a23..6e80e7e 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -1904,6 +1904,7 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
   },
 
   selectService: function (event) {
+    event.context.set('isActive', true);
     this.set('selectedService', event.context);
     var activeTabs = this.get('tabs').findProperty('isActive', true);
     if (activeTabs) {
@@ -2079,6 +2080,9 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
     Em.run.next(this, function () {
       this.set('filter', propertyName);
     });
+
+    this.get('stepConfigs').setEach('isActive', false);
+    stepConfig.set('isActive', true);
   },
 
   /**