Move the IE memory leak prevention voodoo together to after the callback, and put...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 16 Feb 2012 22:56:44 +0000 (22:56 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 16 Feb 2012 22:56:44 +0000 (22:56 +0000)
commit41d636d369dfc8d67271d80a5b3ddd1b71ccf586
treee5b60df246c28d9f736f4e639eb27f41d9266da1
parentfcf481423384adecc48fcdc70b9e7708105bc8ae
Move the IE memory leak prevention voodoo together to after the callback, and put it in a try catch block. The first statement after the callback seems to mysteriously fail in IE7 sometimes with a permission denied error. I think the root cause might be the fact that the callback itself also calls addScript()
resources/mediawiki/mediawiki.js