소스 검색

AMBARI-9678. Customize services - adding property first time closes panel (alexantonenko)

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

+ 1 - 1
ambari-web/app/views/common/configs/service_configs_by_category_view.js

@@ -305,7 +305,7 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, {
   },
 
   didInsertElement: function () {
-    var isCollapsed = this.get('category.isCollapsed') == undefined ? (this.get('category.name').indexOf('Advanced') != -1 || this.get('category.name').indexOf('CapacityScheduler') != -1) : this.get('category.isCollapsed');
+    var isCollapsed = this.get('category.isCollapsed') == undefined ? (this.get('category.name').indexOf('Advanced') != -1 || this.get('category.name').indexOf('CapacityScheduler') != -1 || this.get('category.name').indexOf('Custom') != -1) : this.get('category.isCollapsed');
     var self = this;
     this.set('category.isCollapsed', isCollapsed);
     if (isCollapsed) {