浏览代码

AMBARI-5418 BGO window filters should not persist the selected values. (Buzhor Denys via ababiichuk)

aBabiichuk 11 年之前
父节点
当前提交
156b98e4cd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ambari-web/app/utils/host_progress_popup.js

+ 2 - 1
ambari-web/app/utils/host_progress_popup.js

@@ -544,6 +544,7 @@ App.HostPopup = Em.Object.create({
          * Preset values on init
          */
         setOnStart: function () {
+          this.set('serviceCategory', this.get('categories').findProperty('value','all'));
           if (this.get("controller.isBackgroundOperations")) {
             this.get('controller').setSelectCount(this.get("services"), this.get('categories'));
             this.updateHostInfo();
@@ -936,4 +937,4 @@ App.HostPopup = Em.Object.create({
     return self.get('isPopup');
   }
 
-});
+});