[BUGFIX] Prevent recursive AJAX calls 39/56739/3
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Thu, 19 Apr 2018 15:25:07 +0000 (17:25 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 19 Apr 2018 15:48:04 +0000 (17:48 +0200)
commit76ceac62a8159b41f8c9f389d8e2cf7ba1aa725a
tree98a436c309b57b99a2f756d8991336ebed436b0b
parent70b8ffc06c68a21a5dc191d6b7f77b42092fc208
[BUGFIX] Prevent recursive AJAX calls

The form editor calls the icon API within
jQuery's beforeSend() AJAX hook.
Since the Icon API also makes use of AJAX the result is a recursion.
This patch moves the icon requests out of the jQuery AJAX hook.

Resolves: #84797
Releases: master
Change-Id: Ie21806152802774f3f00b3d0320115aa5c0f26e7
Reviewed-on: https://review.typo3.org/56739
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Mediator.js