From: Michael M Slusarz Date: Fri, 6 Mar 2009 07:50:44 +0000 (-0700) Subject: IE 6 hover fix for context menus. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=66755162bf5f14601f67e71713f64201db3cf272;p=horde.git IE 6 hover fix for context menus. --- diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index 8ffb5480b..70b29b8f7 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -2359,6 +2359,12 @@ var DimpBase = { $('dimpbarActions', 'serviceActions', 'applicationfolders', 'specialfolders', 'normalfolders').compact().invoke('select', 'LI').flatten().compact().each(function(e) { e.observe('mouseover', e.addClassName.curry('over')).observe('mouseout', e.removeClassName.curry('over')); }); + + /* These are links, but they have no href attribute. Hovering + * requires something in href on IE6. */ + $$('.context A').each(function(e) { + e.writeAttribute('href', ''); + }); } },