https://bugzilla.wikimedia.org/show_bug.cgi?id=19586
--- Comment #4 from Derk-Jan Hartman <[email protected]> 2009-08-07 15:36:00 UTC --- OK, I found the cause. Trough experimentation, it seems that in Opera 8, you cannot getElementById, a form (tested with both id= and name=). It seems it is not a DHTML element yet in that version. This causes 2 problems. In mwsuggest.js, in the function os_initHandlers(), there is the line os_hookEvent(document.getElementById(formname), "submit", function(event){ return os_eventOnsubmit(event); }); The second problem, and the one directly effecting the usability initiative is: addHandler(editForm, "submit", function () of edit.js The options are to either hide the bug by returning from os_hookevent() or addHandler() when the element is null (but this makes debugging more difficult), or by checking the document.getElementById result before attempting to add a handler. I think the latter in combination with a "opera 8 bug" comment, is the better solution. That should solve the error, though i'm not sure if functionality is restored after that. Versions of Opera 8 can be downloaded here: http://arc.opera.com/pub/opera/ You can test by saving a page (use the "with images" mode into a local directory. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
