ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-18061. Configs: Interactive Query Queue become visible when Enable Interactive Query is off on Install and Add Service Wizards (alexantonenko)
Date Mon, 08 Aug 2016 11:40:45 GMT
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 <hiveww@gmail.com>
Authored: Mon Aug 8 14:20:04 2016 +0300
Committer: Alex Antonenko <hiveww@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
+});


Mime
View raw message