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:41 UTC

[ambari] branch trunk 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 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 6d10660  AMBARI-24315. Clicking on password warnings doesn't update the service tab navigation (akovalenko)
6d10660 is described below

commit 6d106605782466eaa03a613bd3ca28d0c20463f3
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Thu Jul 19 18:10:13 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);
   },
 
   /**