I have a problem with nested pjax. I need to specify directly pjax-container in code. Because my code is blowing and become unreadably by overriding native pjax behaviours.
bower-asset.jquery.pjax.js.patch.txt
yii2-pjax.patch.txt.txt
The main goal of these patches are:
- Allow to specify pjax container for response by pjax-data attribute.
- Disallow bind events on elements inside nested containers.
- I tried to fight with multiple form submission on trigger form submit, but i found that pjax is good with this and closing submitted previous forms. So in Network is seen as posts gone, but in real sent only last. I have tried to add attribut on container when it pjax-processing and refuse next triggering, but failed, so i decided that pjax is good with multiple form submission.
I have a problem with nested pjax. I need to specify directly pjax-container in code. Because my code is blowing and become unreadably by overriding native pjax behaviours.
bower-asset.jquery.pjax.js.patch.txt
yii2-pjax.patch.txt.txt
The main goal of these patches are: