[BUGFIX] Solve stackoverflow in prototype in IE8 55/29655/5
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>
Mon, 28 Apr 2014 15:52:18 +0000 (17:52 +0200)
commit7e65dc21be5e50f890b7710b4455583d6a67492d
tree9f0c8b0f9b475dff9a3e203ddce064af9d4e5dfb
parent76741dff7b967b88aa1d6e556500a77716c7a97a
[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/29655
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/contrib/prototype/prototype.js