Repository: ambari Updated Branches: refs/heads/branch-2.4 56f2b49bc -> e51397373
AMBARI-17266 - StackDeploys: Suse: after enabling ranger plugin save button is always present (rzang) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e5139737 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e5139737 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e5139737 Branch: refs/heads/branch-2.4 Commit: e5139737313779147110669c07570ab96c5f5012 Parents: 56f2b49 Author: Richard Zang <[email protected]> Authored: Thu Jun 16 13:29:24 2016 -0700 Committer: Richard Zang <[email protected]> Committed: Thu Jun 16 13:33:31 2016 -0700 ---------------------------------------------------------------------- ambari-web/app/utils/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e5139737/ambari-web/app/utils/config.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js index 840e3c2..a9cb5e9 100644 --- a/ambari-web/app/utils/config.js +++ b/ambari-web/app/utils/config.js @@ -854,7 +854,9 @@ App.config = Em.Object.create({ if (!t.get('isAdvanced') && t.get('serviceName') === serviceName) { t.get('sections').forEach(function (s) { s.get('subSections').forEach(function (ss) { - properties = properties.concat(ss.get('configProperties')); + properties = properties.concat(ss.get('configs').filter(function(item) { + return item.get('widgetType') != 'test-db-connection'; + })); }); }); }
