Преглед на файлове

Merge pull request #5042 from GordonSmith/HPCC-10275

HPCC-10275: "Compiled" Workunit not showing as completed

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman преди 11 години
родител
ревизия
6edabedd0c
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 2 0
      esp/files/scripts/WUDetailsWidget.js
  2. 1 1
      esp/files/scripts/WUQueryWidget.js

+ 2 - 0
esp/files/scripts/WUDetailsWidget.js

@@ -343,6 +343,8 @@ define([
                 this.graphsWidget.set("tooltip", tooltip);
             } else if (name === "StateID") {
                 this.refreshActionState();
+            } else if (name === "ActionEx") {
+                this.refreshActionState();
             } else if (name === "hasCompleted") {
                 this.checkIfComplete();
             }

+ 1 - 1
esp/files/scripts/WUQueryWidget.js

@@ -448,7 +448,7 @@ define([
                     } else {
                         hasNotFailed = true;
                     }
-                    if (WsWorkunits.isComplete(selection[i].StateID)) {
+                    if (WsWorkunits.isComplete(selection[i].StateID, selection[i].ActionEx)) {
                         hasCompleted = true;
                     } else {
                         hasNotCompleted = true;