Last modified: 2010-05-15 15:38:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2866 - IE 5.2.3 for Mac problem
IE 5.2.3 for Mac problem
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.5.x
Macintosh Mac OS X 10.4
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: javascript
  Show dependency treegraph
 
Reported: 2005-07-15 03:35 UTC by james prochnik
Modified: 2010-05-15 15:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description james prochnik 2005-07-15 03:35:20 UTC
I am using IE 5.2.3 on my Mac osX 10.4.2 system

Whenever I load ANY wikipedia page, i get an Internet Explorer Script Alert message "handler could not be removed"

I asked    http://ask.metafilter.com/   about the problem, and they said it may be javascript on your end.

Here is what a poster told me:

Not your browser, just some wonky javascript:


function addEvent(elm, evType, fn, useCapture)
// addEvent and removeEvent
// cross-browser event handling for IE5+, NS6 and Mozilla
// By Scott Andrew
{
if (elm.addEventListener){
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent){
var r = elm.attachEvent("on"+evType, fn);
return r;
} else {
alert("Handler could not be removed");
}
}


It checks for a couple of event-binding methods and if they're not available in your browser (they're not in IE Mac), it pops the alert message. 
Replacing the alert with old-school bracket notation event binding ought to fix it:

elm['on'+evType]=fn;


Is this the problem?  Or is it on my end?

Thanks

James
Comment 1 Brion Vibber 2005-07-15 04:33:17 UTC
Experimental patch from bug 2001 which caused this; I've backed it out.


Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links