ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-12691. Unable to change config group on the host/%host_id/configs page (onechiporenko)
Date Mon, 10 Aug 2015 14:36:35 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk bbb2bdc18 -> b6a3f70b9


AMBARI-12691. Unable to change config group on the host/%host_id/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/b6a3f70b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b6a3f70b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b6a3f70b

Branch: refs/heads/trunk
Commit: b6a3f70b92ece452ec69be8fcc57c54a63c2b264
Parents: bbb2bdc
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Mon Aug 10 17:35:48 2015 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Mon Aug 10 17:36:13 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/main/service/configs/config_overridable.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b6a3f70b/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 3928fca..143af1c 100644
--- a/ambari-web/app/mixins/main/service/configs/config_overridable.js
+++ b/ambari-web/app/mixins/main/service/configs/config_overridable.js
@@ -297,7 +297,7 @@ App.ConfigOverridable = Em.Mixin.create({
     var sendData = {
       name: 'config_groups.update',
       data: {
-        id: configGroup.get('id'),
+        id: Em.isNone(configGroup.get('configGroupId')) ? configGroup.get('id') : configGroup.get('configGroupId'),
         data: putConfigGroup
       },
       success: 'successFunction',


Mime
View raw message