Hi guys, after doing a composer update I’ve noticed an odd new behaviour from the GridView control. When I click on a column to sort it, a PJAX request fires as normal and loads the sorted content. However, now in that PJAX response jquery is loading again.
The problem is that jQuery has already been loaded, and any plugins attached to jQuery (e.g. a datepicker) gets blown away when jquery loads again. So in my case, clicking on a column to sort the table means that the date picker control no longer works afterwards.
I’ve attached a screenshot showing the response from sorting a column:
Any thoughts on why this is happening, and what I can do to stop it?
Thanks very much,