Actions
Bug #84499
closedUncaught TypeError: Cannot read property 'cropArea' of undefined
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2018-03-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In a specific project, I stumbled across a bug in the image cropper.
When I open the cropping tool, the lightbox opens and nothing happen.
In the JS-Console I get the error "Uncaught TypeError: Cannot read property 'cropArea' of undefined at ImageManipulation.init (ImageManipulation.js)".
We tried to debug it and found the reason for this bug.
The server we have for the TYPO3 Page, is really fast. We found out that the AJAX Response for the image cropper is faster than the JS execution itself.
I will submit a patch for this. It just changes the order of the JS, so it will work on very fast servers as well.
Files
Actions