Repository: ambari Updated Branches: refs/heads/trunk 1cc4a20b3 -> 9c3fe327d
AMBARI-15734. Empty groups popup for Kerberos in the host configs page (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8bb0d16a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8bb0d16a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8bb0d16a Branch: refs/heads/trunk Commit: 8bb0d16a66d6d0b7f85ca44daa070c2f35a397f8 Parents: 7b67232 Author: Oleg Nechiporenko <[email protected]> Authored: Wed Apr 6 17:13:12 2016 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Thu Apr 7 13:51:33 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/info/configs.js | 2 +- ambari-web/app/mixins/main/service/configs/config_overridable.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8bb0d16a/ambari-web/app/controllers/main/service/info/configs.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js index 2bcaf2e..8943d7c 100644 --- a/ambari-web/app/controllers/main/service/info/configs.js +++ b/ambari-web/app/controllers/main/service/info/configs.js @@ -46,7 +46,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ConfigsLoader, A */ configGroups: function() { return this.get('groupsStore').filterProperty('serviceName', this.get('content.serviceName')); - }.property('content.serviceName', 'groupsStore'), + }.property('content.serviceName', '[email protected]'), dependentConfigGroups: function() { if (this.get('dependentServiceNames.length') === 0) return []; http://git-wip-us.apache.org/repos/asf/ambari/blob/8bb0d16a/ambari-web/app/mixins/main/service/configs/config_overridable.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/main/service/configs/config_overridable.js b/ambari-web/app/mixins/main/service/configs/config_overridable.js index c894a4f..9706061 100644 --- a/ambari-web/app/mixins/main/service/configs/config_overridable.js +++ b/ambari-web/app/mixins/main/service/configs/config_overridable.js @@ -349,8 +349,8 @@ App.ConfigOverridable = Em.Mixin.create({ configGroups: configGroups, selectedConfigGroup: selectedGroup, disablePrimary: function () { - return !(this.get('selectedConfigGroup.name') !== selectedGroup.get('name')); - }.property('selectedConfigGroup'), + return this.get('selectedConfigGroup.name') === selectedGroup.get('name'); + }.property('selectedConfigGroup.name'), onPrimary: function () { var newGroup = this.get('selectedConfigGroup'); if (selectedGroup.get('isDefault')) {
