Skip to content
Snippets Groups Projects
Commit cedd99cf authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Wouter Wolters
Browse files

[BUGFIX] Remove backdrop of cropper modal properly

Remove the `remove()` call when the cropper modal gets
closed.

Resolves: #67030
Related: #66969
Releases: master
Change-Id: Ibec6f8ee803ce4b4d6528367f25608cf0b38e21f
Reviewed-on: http://review.typo3.org/39617


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarFrans Saris <franssaris@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent abc29af1
No related merge requests found
......@@ -266,7 +266,7 @@ define('TYPO3/CMS/Backend/ImageManipulation', ['jquery', 'TYPO3/CMS/Backend/Moda
*/
ImageManipulation.dismiss = function() {
if (ImageManipulation.currentModal) {
ImageManipulation.currentModal.modal('hide').remove();
ImageManipulation.currentModal.modal('hide');
ImageManipulation.currentModal = null;
}
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment