Repository: ambari
Updated Branches:
  refs/heads/trunk c032eb494 -> 37cfa697b


AMBARI-8047 Configs are not editable. (atkach)


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

Branch: refs/heads/trunk
Commit: 37cfa697bc09e3b7576e722ec38680c9f2723842
Parents: c032eb4
Author: atkach <[email protected]>
Authored: Thu Oct 30 22:24:54 2014 +0200
Committer: atkach <[email protected]>
Committed: Thu Oct 30 22:24:54 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/configs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/37cfa697/ambari-web/app/controllers/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/configs.js 
b/ambari-web/app/controllers/main/service/info/configs.js
index 00f152c..fa823fd 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -59,7 +59,7 @@ App.MainServiceInfoConfigsController = 
Em.Controller.extend(App.ServerValidatorM
   versionLoaded: false,
   isCurrentSelected: function () {
     return App.ServiceConfigVersion.find(this.get('content.serviceName') + "_" 
+ this.get('selectedVersion')).get('isCurrent');
-  }.property('selectedVersion'),
+  }.property('selectedVersion', 'content.serviceName'),
   serviceConfigs: function () {
     return App.config.get('preDefinedServiceConfigs');
   }.property('App.config.preDefinedServiceConfigs'),

Reply via email to