From 5ff2521050f4a9f814d7f81f0de676c2984af61c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 16 Jan 2009 11:15:52 -0700 Subject: [PATCH] ContextSensitive already keeps track of this info. --- imp/js/src/DimpBase.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index 33967cd7e..6d5acea3c 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -15,7 +15,6 @@ var DimpBase = { bcache: $H(), cacheids: {}, lastrow: -1, - mo_sidebar: {}, pivotrow: -1, ppcache: {}, ppfifo: [], @@ -1877,9 +1876,8 @@ var DimpBase = { if (DIMP.conf.is_ie6) { li.addClassName('over'); } - if (type && !this.mo_sidebar[li.id]) { + if (type && !DimpCore.DMenu.validElement(li.id)) { DimpCore.addMouseEvents({ id: li.id, type: type }); - this.mo_sidebar[li.id] = 1; } break; @@ -2043,7 +2041,6 @@ var DimpBase = { } [ DragDrop.Drags.get_drag(fid), DragDrop.Drops.get_drop(fid) ].compact().invoke('destroy'); DimpCore.removeMouseEvents(f); - delete this.mo_sidebar[fid]; DimpCore.addGC(f); if (this.viewport) { this.viewport.deleteView(fid); -- 2.11.0