Parcourir la source

HPCC-22619 Config mgr not working properly in Edge

Fix test if navigation element has child elements so that proper state
variables are initialized

Signed-off-by: Ken Rowland <kenneth.rowland@lexisnexisrisk.com>
Ken Rowland il y a 5 ans
Parent
commit
f4e9ecfc54
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      esp/files/scripts/configmgr/navtree.js

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

@@ -676,7 +676,7 @@ function createNavigationTree(navTreeData) {
         top.document.activeTab = 0;
         top.document.navDT.lastSelIndex = 0;
       }
-      else if (hasChildren[record.getData('id')] !== true)
+      else if (hasChildren[record.getData('id')] === true)
         return;
     }
     if( (compName === '' || compName === 'Software' || compName === 'Environment') && top.document.keyEventOccur === "false"){