Browse Source

HPCC-10613 ConfigMgr - Thor topology should allow roxie to be added

  - If no eclagentprocess is in the thor topology than adding roxie
    is enabled.  If no roxie in thor topology than adding
    eclagentprocess is enabled.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 11 years ago
parent
commit
3bd506d325
1 changed files with 1 additions and 4 deletions
  1. 1 4
      esp/files/scripts/configmgr/configmgr.js

+ 1 - 4
esp/files/scripts/configmgr/configmgr.js

@@ -2762,10 +2762,7 @@ function onContextMenuBeforeShow(p_sType, p_aArgs) {
           var r = recSet.getRecord(cIdx);
           if (r.getData('parent') === record.getData('id'))
           {
-            if (r.getData('name').indexOf('ThorCluster') == 0) {
-              this.getItem(5).cfg.setProperty("disabled", true);
-            }
-            else if (r.getData('name').indexOf('RoxieCluster') == 0) {
+            if (r.getData('name').indexOf('RoxieCluster') == 0) {
               this.getItem(4).cfg.setProperty("disabled", true);
               this.getItem(0).cfg.setProperty("disabled", true);
             }