'success' event not fired after manual pjax invoking. #131
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My code
var pjax = new Pjax({
selectors: ['#pjax-container'],
cacheBust: false
});
In this case events fired
But
pjax.options.requestOptions = pjax.options.requestOptions || {};
pjax.loadUrl(url, pjax.options);
In this case event fired
Is this flow right?
or Did I made a mistake?
Thx.
Have you checked to see if
pjax:erroris being fired instead? Pjax always triggers eitherpjax:sucessorpjax:errorwhen triggeringpjax:complete.@venzersiz Are you still having this issue?
@BehindTheMath I'll check again.
@BehindTheMath Oh, I made a mistake. The cause was jQuery pjax I've used has same name event handler. There isn't the problem.