Kaynağa Gözat

gh-3246 Fix Configmgr - IE specific display issues
- IE specific issues prevent proper rendering of webpage
- Fix use of commas in javascript
- Fix javascript comparison

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>

Gleb Aronsky 13 yıl önce
ebeveyn
işleme
ff605be56c
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      esp/files/scripts/configmgr/navtree.js

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

@@ -1124,7 +1124,7 @@ function createNavigationTree(navTreeData) {
         }
         var files = result.split(/;/g);
         for (var i = 0; i < files.length; i++) {
-          if( files[i]  ==  "<StagedConfiguration>" || files[i] == "</StagedConfiguration" || files[i] == "")
+          if( files[i]  ==  "<StagedConfiguration>" || files[i] == "</StagedConfiguration>" || files[i] == "")
             {
                continue;
             }
@@ -1157,7 +1157,7 @@ function createNavigationTree(navTreeData) {
                            id: "HWCopy",
                            lazyload: true,
                            itemdata: copyCompMenu,
-                           onclick: { fn: onMenuItemClick },
+                           onclick: { fn: onMenuItemClick }
                           } }
                           ],
     "Hardware": [
@@ -1205,7 +1205,7 @@ function createNavigationTree(navTreeData) {
                                   id: "SWCopy",
                                   lazyload: true,
                                   itemdata: copyCompMenu
-                                 },
+                                 }
                               }
                           ],
     "Columns": [
@@ -1408,7 +1408,7 @@ function createNavigationTree(navTreeData) {
 
 
   var handleWindowMouseDown = function(e) {
-    if (top.document.ContextMenuCenter != null)
+    if (top.document.ContextMenuCenter != null && (!YAHOO.env.ua.ie || top.document.ContextMenuCenter.itemData != undefined))
       top.document.ContextMenuCenter.clearContent();
     var tabView = top.document.RightTabView;
     if (tabView) {