Description
IE9 Beta 1 fails on a Javascript error when a page is double-clicked to activate auto-scroll editing.
Steps to reproduce
When using IE9 Beta 1 browser, double-click within any page you are allowed to edit.
Example
Component selection
../htdocs/common/js/common.js
Details
This wiki.
Depending upon your options settings for script debugging and script error notification, you may see the error SCRIPT5007: 'null' is null or not an object common.js, line 505 character 25.
Workaround
IE9 Beta 1 is using \r as the line ending character instead of the \n. A workaround is to replace line 503 of common.js with the following:
textLines = textLines.match(/(.*(\r\n|\r|\n))/g);
Patch for 1.9.3 tip as of 2010-09-18:
Discussion
(20:37) < ThomasWal> RogerHaase: http://moinmo.in/MoinMoinBugs/Ie9BetaFailsOnDoubleClick does somehow sound like a bug in IE9, right? (20:37) < ThomasWal> these days, we usually have either \n or \r\n, but not \r alone (20:38) < RogerHaas> Yes, I would not apply it. I did it just in case someone wanted it. (20:38) < RogerHaas> IE9 beta1 is too buggy to use, I removed it after 2 days.
Plan
- Priority:
- Assigned to:
- Status: likely IE9 bug, don't apply patch to moin 1.9