Skip to content

Conversation

iovzt
Copy link

@iovzt iovzt commented Nov 7, 2022

Fix for case when we use container reloading with synchronous ajax request

$.pjax.reload({container: '#pjax-container', async: false});

and events fire in unexpected order:

pjax:beforeSend
pjax:beforeReplace
pjax:success
pjax:complete
pjax:end
pjax:start
pjax:send

@samdark
Copy link
Member

samdark commented Nov 7, 2022

Would you please add a line for CHANGELOG?

@iovzt
Copy link
Author

iovzt commented Nov 8, 2022

Sure, have added.
Thanks a lot!

@samdark samdark merged commit 0a28c1f into yiisoft:master Nov 8, 2022
@samdark
Copy link
Member

samdark commented Nov 8, 2022

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants