ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-4051. Delete Group button is disabled in Manage Dialog in Installer. Additional patch. (akovalenko)
Date Thu, 12 Dec 2013 18:02:55 GMT
Updated Branches:
  refs/heads/trunk 06749c8fb -> 336e4b34b


AMBARI-4051. Delete Group button is disabled in Manage Dialog in Installer. Additional patch.
(akovalenko)


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

Branch: refs/heads/trunk
Commit: 336e4b34b463859251b494e4d21dd0250d7944d9
Parents: 06749c8
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Thu Dec 12 20:01:30 2013 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Thu Dec 12 20:01:30 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/views/main/service/manage_config_groups_view.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/336e4b34/ambari-web/app/views/main/service/manage_config_groups_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/manage_config_groups_view.js b/ambari-web/app/views/main/service/manage_config_groups_view.js
index 22ca7ff..8186fd1 100644
--- a/ambari-web/app/views/main/service/manage_config_groups_view.js
+++ b/ambari-web/app/views/main/service/manage_config_groups_view.js
@@ -71,8 +71,8 @@ App.MainServiceManageConfigGroupView = Em.View.extend({
   },
 
   selectDefaultGroup: function () {
-    if ('controller.isLoaded') {
-      this.set('selectedConfigGroup', this.get('controller.configGroups').findProperty('isDefault'));
+    if (this.get('controller.isLoaded')) {
+      this.set('selectedConfigGroup', [this.get('controller.configGroups').findProperty('isDefault')]);
     }
   }.observes('controller.isLoaded'),
 


Mime
View raw message