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

Managment - Re-load datepickers after modal instantiation #753

Conversation

jsavell
Copy link
Contributor

@jsavell jsavell commented Mar 21, 2024

In the management module, the datepickers were being initialized once on page load. This meant that datepickers in async loaded modals never got initialized.

This PR re-executes the datepicker initializer immediately after a modal is loaded to properly register any datepickers it might have added to the dom.

Before:

management-without-datepicker

After:

management-with-datepicker

@andyp-uk andyp-uk merged commit 8bdd443 into coral-erm:ERM-63-modern-jquery-update-with-php8 Apr 4, 2024
@andyp-uk andyp-uk removed the request for review from spaceisntsyntax April 23, 2024 13:01
@andyp-uk andyp-uk added the bug This is a bug (not an enhancement) label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug (not an enhancement)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants