[BUGFIX] Change the order of the AJAX Request for image cropping 69/56469/11
authorGiuseppe Cavallaro <giuseppe.cavallaro@brain-appeal.com>
Tue, 20 Mar 2018 12:41:57 +0000 (13:41 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 29 Mar 2018 12:31:47 +0000 (14:31 +0200)
commitfd1c7126c8276e659f00bc6ba834aa1124ced673
tree03fa3fe6ea423718ce597f527b6f66f5526754aa
parent24779fb94224e589c031b209b5942fe7eba7a93a
[BUGFIX] Change the order of the AJAX Request for image cropping

It ensures that the request will not be overwritten by the spinning icon
on fast servers.

Before the changes, the image cropping tool triggered a Console Error
"Uncaught TypeError: Cannot read property 'cropArea' of undefined at
ImageManipulation.init (ImageManipulation.js)."

Resolves: #84499
Releases: master, 8.7
Change-Id: Ic2208ba43d0976a1ba9674d68e5d861e89619d1a
Reviewed-on: https://review.typo3.org/56469
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Private/TypeScript/Modal.ts
typo3/sysext/backend/Resources/Public/JavaScript/Modal.js