소스 검색

Merge branch 'candidate-7.0.x' into candidate-7.2.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 년 전
부모
커밋
8d83ff06e8
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 11 2
      esp/src/eclwatch/DFUQueryWidget.js

+ 11 - 2
esp/src/eclwatch/DFUQueryWidget.js

@@ -398,7 +398,7 @@ define([
                     request: this.updatedFilter
                 }).then(function (response) {
                     if (lang.exists("DFUQueryResponse", response)) {
-                        if (response.DFUQueryResponse.Warning) {
+                        if (response.DFUQueryResponse.Warning && dojo.byId(context.id).offsetParent !== null) {
                             context.filter.open();
                             context.filter.setFilterMessage(context.i18n.FilesWarning);
                         } else {
@@ -441,7 +441,16 @@ define([
                 });
 
                 this.initWorkunitsGrid();
-                this.checkIfWarning();
+
+                if (!params.searchResults) {
+                    this.checkIfWarning();
+                }
+
+                ESPUtil.MonitorVisibility(this.workunitsTab, function (visibility) {
+                    if (visibility) {
+                        context.checkIfWarning();
+                    }
+                });
 
                 this.filter.on("clear", function (evt) {
                     context.refreshHRef();