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 broken update on changing the input box page value in ExtJS pagination #389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

siccovansas
Copy link

@siccovansas siccovansas commented Aug 3, 2018

In the ExtJS pagination plugin, the table would not update if you changed the page value in the input box, i.e. if the input box showed page 1 and you changed it to page 5, nothing would happen whereas you would expect page 5 to be loaded into your table.

fnExtStylePagingInfo is used in 3 other places in this file, so I guessed that the usage of fnPagingInfo in the nPageNumBox.change block was a typo and should have been fnExtStylePagingInfo. This indeed fixes the problem.

The table would not update if you changed the page value in the input box, i.e. if the input box showed page 1 and you changed it to page 5, nothing would happen whereas you would expect page 5 to be loaded into your table.

`fnExtStylePagingInfo` is used in 3 other places in this file, so I guessed that the usage of `fnPagingInfo` in the `nPageNumBox.change` block was a typo and should have been `fnExtStylePagingInfo`. This indeed fixes the problem.
@siccovansas siccovansas changed the title Fix broken update on changing input box value Fix broken update on changing the input box page value in ExtJS pagination Aug 3, 2018
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.

1 participant