Explorar el Código

AMBARI-9217 Configs: Edit inputs going to be readonly after switching between services. (atkach)

Andrii Tkach hace 10 años
padre
commit
e6816418e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ambari-web/app/controllers/main/service/info/configs.js

+ 1 - 1
ambari-web/app/controllers/main/service/info/configs.js

@@ -63,7 +63,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
 
 
   isCurrentSelected: function () {
   isCurrentSelected: function () {
     return App.ServiceConfigVersion.find(this.get('content.serviceName') + "_" + this.get('selectedVersion')).get('isCurrent');
     return App.ServiceConfigVersion.find(this.get('content.serviceName') + "_" + this.get('selectedVersion')).get('isCurrent');
-  }.property('selectedVersion', 'content.serviceName'),
+  }.property('selectedVersion', 'content.serviceName', 'dataIsLoaded'),
   serviceConfigs: function () {
   serviceConfigs: function () {
     return App.config.get('preDefinedServiceConfigs');
     return App.config.get('preDefinedServiceConfigs');
   }.property('App.config.preDefinedServiceConfigs'),
   }.property('App.config.preDefinedServiceConfigs'),