소스 검색

AMBARI-11562. The value of 'Max idle tez session length' from the default Hive config group can be changed when you are at setting of aother Hive config group (alexantonenko)

Alex Antonenko 10 년 전
부모
커밋
77593a2a37
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      ambari-web/app/views/common/configs/widgets/plain_config_text_field.js

+ 4 - 0
ambari-web/app/views/common/configs/widgets/plain_config_text_field.js

@@ -30,6 +30,10 @@ App.PlainConfigTextField = Ember.View.extend(App.SupportsDependentConfigs, App.W
   classNames: ['widget-config-plain-text-field'],
   placeholderBinding: 'config.savedValue',
 
+  disabled: function() {
+    return !this.get('config.isEditable');
+  }.property('config.isEditable'),
+
   configLabel: function() {
     return this.get('config.stackConfigProperty.displayName') || this.get('config.displayName') || this.get('config.name');
   }.property('config.name', 'config.displayName'),