ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject [1/2] git commit: AMBARI-6538. Config Group rename makes it look like the default group name is also being changed. (Max Shepel via onechiporenko)
Date Fri, 18 Jul 2014 11:20:56 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 4a2307c6e -> 7bdb1e42c


AMBARI-6538. Config Group rename makes it look like the default group name is also being changed.
(Max Shepel via onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f0b39deb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f0b39deb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f0b39deb

Branch: refs/heads/trunk
Commit: f0b39deb794a7288f61c28dfaf0f33027998a557
Parents: 24225fd
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Fri Jul 18 14:17:09 2014 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Fri Jul 18 14:17:09 2014 +0300

----------------------------------------------------------------------
 .../controllers/main/service/manage_config_groups_controller.js  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f0b39deb/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
index 7a292c0..ba89ad2 100644
--- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
+++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
@@ -252,10 +252,10 @@ App.ManageConfigGroupsController = Em.Controller.extend({
       App.config.loadedConfigurationsCache[configs.type + "_" + configs.tag] = configs.properties;
       var group = params.typeTagToGroupMap[configs.type + "///" + configs.tag];
       for (var config in configs.properties) {
-        typeTagConfigs.push({
+        typeTagConfigs.push(Em.Object.create({
           name: config,
           value: configs.properties[config]
-        });
+        }));
       }
       this.get('configGroups').findProperty('name', group).get('properties').pushObjects(typeTagConfigs);
     }, this);


Mime
View raw message