Bug #51768: IRRE - drag and drop sorting of items not possible in Internet Explorer
New prototype version produces stack overflow error in IE8
In IE8 the BE login screen produces the error message "Stack overflow at line 7".
The solution in this report works to solve the problem.
Updated by Oliver Hader about 7 years ago
The reason for this behaviour is the combination of prototype.js and ExtJS.
The ExtJS defer() method takes precedence over Prototype's - later one uses a default value of "0.01" seconds - the value is passed to the native function setTimeout() in the delay() method of prototype.js.
The ExtJS variant directly uses the millisecond value - if "0" is given, the submitted function will be called directly.
The stack overflow is caused by not delaying the function call (delay value is "0") and thus ending in a recursive endless loop.