浏览代码

Merge branch 'candidate-5.2.6' into candidate-5.4.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 年之前
父节点
当前提交
007d63d7a5
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      esp/src/eclwatch/ESPWorkunit.js

+ 3 - 2
esp/src/eclwatch/ESPWorkunit.js

@@ -855,8 +855,9 @@ define([
                 request: {
                     Wuid: this.Wuid,
                     GraphName: this.graphs[idx].Name
-                },
-                load: function (response) {
+                }
+            }).then(function (response) {
+                if (lang.exists("WUGetGraphResponse.Graphs.ECLGraphEx", response) && response.WUGetGraphResponse.Graphs.ECLGraphEx.length) {
                     context.graphs[idx].xgmml = response.WUGetGraphResponse.Graphs.ECLGraphEx[0].Graph;
                     onFetchGraphXgmml(context.graphs[idx].xgmml, context.graphs[idx].svg);
                 }