I'm using pjax from a view to reload a gridview without a full page reload.
In my JS code I call $.pjax.reload({container: "#container", async: false}); and it works fine on a normal view, I mean, full URL controller action.
But the same code makes a full page reload if I am using it in a modal.
To be more clear, the modal content is filled on a link:
I'm using pjax from a view to reload a gridview without a full page reload. In my JS code I call
$.pjax.reload({container: "#container", async: false});
and it works fine on a normal view, I mean, full URL controller action.But the same code makes a full page reload if I am using it in a modal.
To be more clear, the modal content is filled on a link:
Obviously in the controller action, the view is rendered with
return this->renderAjax('view');
.