Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image cropper destroy #2139

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jun 21, 2021

What is this pull request for?

Makes sure to destroy the image cropper instance on dialog close. Also removes old Image Cropper destroy from essence picture update callback.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

The image croppe rhas been refactoed into a ES6 class
and takes care of destroying itself on dialog close.
@tvdeyen tvdeyen added this to the 6.0 milestone Jun 21, 2021
@tvdeyen tvdeyen requested a review from mamhoff June 21, 2021 13:21
@tvdeyen tvdeyen merged commit 953abfa into AlchemyCMS:main Jun 21, 2021
@tvdeyen tvdeyen deleted the image-cropper-destroy branch June 21, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants