Forráskód Böngészése

HPCC-13998 Monitoring Icon Selects Wrong Tab

Clicking on the monitoring icon will select the wrong tab on its first click.

Fixes HPCC-13998

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Gordon Smith 9 éve
szülő
commit
7ab030f859
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      esp/src/eclwatch/HPCCPlatformWidget.js

+ 3 - 1
esp/src/eclwatch/HPCCPlatformWidget.js

@@ -411,7 +411,9 @@ define([
         _onMonitoring: function (evt) {
             this.stackContainer.selectChild(this.operationsPage);
             this.operationsPage.ensureWidget().then(function (operationsPage) {
-                operationsPage.widget.TabContainer.selectChild(operationsPage.widget._Monitoring);
+                operationsPage.widget._Topology.ensureWidget().then(function (topologyPage) {  //  This is needed otherwise topology will steal focus the first time it is delay loaded
+                    operationsPage.selectChild(operationsPage.widget._Monitoring);
+                });
             });
         },