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

fix(ImageCropper): Add dom ids to picture crop fields #2219

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Nov 23, 2021

What is this pull request for?

These DOM ids have been removed in cb49ce8 to remove duplicated DOM ids.

But we need DOM ids for the image cropper to work.

Fixed by adding unique DOM ids for these fields.

Closes #2216

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

@tvdeyen tvdeyen requested a review from robinboening November 23, 2021 21:37
@tvdeyen tvdeyen added this to the 6.0 milestone Nov 23, 2021
These DOM ids have been removed in cb49ce8
to remove duplicated DOM ids.

But we need DOM ids for the image cropper
to work.

Fixed by adding unique DOM ids for these fields.

Closes AlchemyCMS#2216
@tvdeyen tvdeyen force-pushed the 2216-fix-image-cropper branch from c2c2dd0 to d629309 Compare November 23, 2021 21:43
Copy link
Contributor

@robinboening robinboening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏅 👍

@tvdeyen tvdeyen merged commit ff981e0 into AlchemyCMS:main Nov 23, 2021
@tvdeyen tvdeyen deleted the 2216-fix-image-cropper branch November 23, 2021 22:08
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.

Image cropper throws javascript error
2 participants