sonata-project/SonataDoctrineORMAdminBundle — pull request #224 by mweimerskirch (2013-06-07 10:53:38+00:00)
Title: Fix filter and paging in sonata_type_model_list

After using a filter or clicking on a paging button, the event hooks were not reloaded so when clicking on a list row the user was redirected to the edit view instead of inserting the selected object into the field.
I fixed this by pulling the "jQuery('...).on" calls into a net method which is then called each time the filter or a paging link is used. I also corrected two comments in the code.