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: call paging on jquery tabs only after initializing them #2146

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

robinboening
Copy link
Contributor

What is this pull request for?

When creating the first fixed element on a Page (using the admin UI), a javascript error was thrown (see screenshot).

The js console does no show the origin of the error, but debugging a little showed it was actually happening inside Alchemy.FixedElements.buildTabs() when paging was called on the tabs and they weren't yet initialised.

Screenshots

Screenshot 2021-07-02 at 14 54 32

Screenshot 2021-07-02 at 13 20 27

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

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thanks

@tvdeyen tvdeyen merged commit 2fb104a into AlchemyCMS:main Jul 2, 2021
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