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 18:48:21 UTC
git commit: AMBARI-4043. In installer,
default config-group ends up ordered last in the list of
config-groups. Additional patch. (akovalenko)
Updated Branches:
refs/heads/trunk 92ea2fdd6 -> fbc43ac67
AMBARI-4043. In installer, default config-group ends up ordered last in the list of config-groups. 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/fbc43ac6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fbc43ac6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fbc43ac6
Branch: refs/heads/trunk
Commit: fbc43ac67b2cd8ed6979c5513d5fe207b49d4c94
Parents: 92ea2fd
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Thu Dec 12 19:47:57 2013 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Thu Dec 12 19:47:57 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/fbc43ac6/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'),