You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rz...@apache.org on 2016/06/16 20:30:54 UTC
ambari git commit: AMBARI-17266 - StackDeploys: Suse: after enabling
ranger plugin save button is always present (rzang)
Repository: ambari
Updated Branches:
refs/heads/trunk d4ded26d5 -> fcb7e7d13
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/fcb7e7d1
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fcb7e7d1
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fcb7e7d1
Branch: refs/heads/trunk
Commit: fcb7e7d134fccfce693c51d629df760b14034fa1
Parents: d4ded26
Author: Richard Zang <rz...@apache.org>
Authored: Thu Jun 16 13:29:24 2016 -0700
Committer: Richard Zang <rz...@apache.org>
Committed: Thu Jun 16 13:29:50 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/fcb7e7d1/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';
+ }));
});
});
}