Browse Source

AMBARI-4158. "Sheduler" panel on YARN tab is opened as default after set configs' filter to "Overridden properties". (alexantonenko)

Alex Antonenko 11 years ago
parent
commit
eb021c0189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/views/common/configs/services_config.js

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

@@ -398,7 +398,7 @@ App.ServiceConfigsByCategoryView = Ember.View.extend({
   }.property('category.canAddProperty', 'filteredCategoryConfigs.length'),
   }.property('category.canAddProperty', 'filteredCategoryConfigs.length'),
 
 
   didInsertElement: function () {
   didInsertElement: function () {
-    var isCollapsed = (this.get('category.name').indexOf('Advanced') != -1);
+    var isCollapsed = (this.get('category.name').indexOf('Advanced') != -1 || this.get('category.name').indexOf('CapacityScheduler') != -1);
     var self = this;
     var self = this;
     this.set('category.isCollapsed', isCollapsed);
     this.set('category.isCollapsed', isCollapsed);
     if (isCollapsed) {
     if (isCollapsed) {