[BUGFIX] Solve stackoverflow in prototype in IE8 07/29907/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Fri, 25 Apr 2014 10:39:59 +0000 (12:39 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 8 May 2014 10:29:25 +0000 (12:29 +0200)
commitfb8370d0a5208684998678a4baa38cfbf34410d0
treee55a648b73c45576811814d31c85e4e274f671cb
parent3abc70309e8e7efd2d567dd9b6aa1ade192e14a3
[BUGFIX] Solve stackoverflow in prototype in IE8

The reason for this behaviour is the combination of prototype.js
and ExtJS. The ExtJS defer() method takes precedence. Calling the
defer() method without any arguments would have resulted in using
a default value of "0.01" seconds in standalone prototype.js, but
results in directly calling the submitted function.

The stack overflow is caused by not delaying the function call
and thus ending in a recursive endless loop.

Resolves: #58187
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I6db191ff67a3e869072877936d949fc733cda74f
Reviewed-on: https://review.typo3.org/29907
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/contrib/prototype/prototype.js