You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2013/12/12 19:02:55 UTC
git commit: AMBARI-4051. Delete Group button is disabled in Manage
Dialog in Installer. Additional patch. (akovalenko)
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 <ak...@hortonworks.com>
Authored: Thu Dec 12 20:01:30 2013 +0200
Committer: Aleksandr Kovalenko <ak...@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'),