瀏覽代碼

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 () {
   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;
     var self = this;
     this.set('category.isCollapsed', isCollapsed);
     this.set('category.isCollapsed', isCollapsed);
     if (isCollapsed) {
     if (isCollapsed) {