Description

Putting a macro that generates a form inside of a table will cause IE8 to respond slowly and eventually respond with a popup window asking if user wants to stop running this script.

Steps to reproduce

View this page with IE 8.

Example

Both the FullSearch and NewPage macros will create the Javascript loop.

||<style="border: medium none;"> <<FullSearch>> ||
||<style="border: medium none;"><<NewPage(ItUnixProcessDocument,Create a new page here,@SELF)>>||


Display context of search results
Case-sensitive searching

The resulting IE8 DOM display is odd. The the entire div inside the form is repeated after the form. But the repeated fields are not displayed on the page.

IE8Loop.png

Component selection

Details

This Wiki.

Workaround

Avoid IE8 or avoid putting macros that generate forms within tables.

Discussion

A revised common.js file that should fix the problem has been attached to this page. Download the file and copy to .../htdocs/common/js/common.js. Please confirm whether or not this fixes the problem.

common.js

(Another fix for an IE 9 Beta 1 bug dealing with textareas is included: http://moinmo.in/MoinMoinBugs/Ie9BetaFailsOnDoubleClick)

/!\ Can any other IE user please confirm bug and that patch fixes it?


I have confirmed the bug on IE8 (8.0.6001.18702) on WindowsXP and was able to fix it by patching .../htdocs/common/js/common.js. If you still get the problem after updating the file, make sure to delete temporary internet files from IE in order to get the new version of the file. -- MikeTrzcianowski

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/FormInsideTableCausesIE8ScriptLoop (last edited 2011-11-28 23:07:15 by ThomasWaldmann)