Last modified: 2011-05-02 20:18:49 UTC
In Firefox, if you enable the option to edit sections by right clicking them, you still see the context menu. The handler returns false, which works in IE to stop the event, but not other browsers. I've made this change to my installation at line 574 with success: if (targ.nodeName.toLowerCase() != 'a' || targ.parentNode.className != 'editsection') { document.location = editHref; e.cancelBubble = true; if (e.stopPropagation) e.stopPropagation(); return false; }
Can you post a patch instead please ? $ diff -u ourfile.js yourmodifiedfile.js > /tmp/me.patch then send us the me.patch file :)
I can't reproduce this on Firefox 2.0.0.2 on Mac OS X or Windows XP.
Created attachment 3302 [details] wikibits.js diff file I'm on a Windows system, so couldn't easily set up CVS or SVN; the diff is based on the latest download available at wikimedia.org. I'll check with Firefox in 'safe mode' to see if the problem is perhaps related to an extension, but even if it is, I don't see any harm in explicitly stopping the event.
Starting Firefox in safe mode (all extensions and themes disabled) I am still seeing this behaviour. The context menu appears and then persists during the page load and must be dismissed before I can start editing. Tested at wikimedia.org and mediawiki.org.
Fixed with jQuery rewrite