You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/08/08 11:40:45 UTC

ambari git commit: AMBARI-18061. Configs: Interactive Query Queue become visible when Enable Interactive Query is off on Install and Add Service Wizards (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 20821b832 -> ac40623a4


AMBARI-18061. Configs: Interactive Query Queue become visible when Enable Interactive Query is off on Install and Add Service Wizards (alexantonenko)


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

Branch: refs/heads/trunk
Commit: ac40623a4c572e9354c6a572d7a81867aa627c0f
Parents: 20821b8
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Aug 8 14:20:04 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Aug 8 14:20:17 2016 +0300

----------------------------------------------------------------------
 .../app/mixins/common/configs/config_recommendation_parser.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ac40623a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
index df7dfe9..b88cf62 100644
--- a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
+++ b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
@@ -160,7 +160,7 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations, {
         errorMessage: '',
         warnMessage: ''
       });
-      if (!Em.isNone(recommendedValue)) {
+      if (!Em.isNone(recommendedValue) && !Em.get(config, 'hiddenBySection')) {
         Em.set(config, 'isVisible', true);
       }
       this.applyRecommendation(Em.get(config, 'name'), Em.get(config, 'filename'), Em.get(config, 'group.name'), recommendedValue, this._getInitialValue(config), parentProperties);
@@ -344,4 +344,4 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations, {
       return true;
     }
   }
-});
\ No newline at end of file
+});