From: Michael M Slusarz Date: Fri, 16 Jan 2009 18:15:52 +0000 (-0700) Subject: ContextSensitive already keeps track of this info. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5ff2521050f4a9f814d7f81f0de676c2984af61c;p=horde.git ContextSensitive already keeps track of this info. --- 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);