You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2015/08/27 09:15:23 UTC

ambari git commit: AMBARI-12882 Selected Config Group doesn't get updated. (atkach)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 83ee68809 -> 6f6d8f2d1


AMBARI-12882 Selected Config Group doesn't get updated. (atkach)


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

Branch: refs/heads/branch-2.1
Commit: 6f6d8f2d164bbe124497643c9822d5eb553123c0
Parents: 83ee688
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Thu Aug 27 10:15:09 2015 +0300
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Thu Aug 27 10:15:09 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/configs/service_config_view.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6f6d8f2d/ambari-web/app/views/common/configs/service_config_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/service_config_view.js b/ambari-web/app/views/common/configs/service_config_view.js
index 29bd226..86fb2c8 100644
--- a/ambari-web/app/views/common/configs/service_config_view.js
+++ b/ambari-web/app/views/common/configs/service_config_view.js
@@ -357,6 +357,10 @@ App.ConfigGroupDropdownView = Ember.TextField.extend({
     });
   },
 
+  updateSelectedGroup: function () {
+    $(this.get('element')).val(this.get('controller.selectedConfigGroup.displayNameHosts'));
+  }.observes('controller.selectedConfigGroup.displayNameHosts'),
+
   updateConfigGroupsList: function() {
     if ($(this.get('element'))) {
       $(this.get('element')).data('typeahead').source = this.get('controller.configGroups').mapProperty('displayNameHosts');