sonata-project/SonataDoctrineORMAdminBundle — pull request #209 by zeliard91 (2013-04-22 15:51:13+00:00)
Title: Fix many association script (bug in SonataMedia Gallery)

Change attached events in field_dialog_form_add in order to be delegated instead of being direct.
A bug occured when the creation modal needed more than one step, in Sonata Media Gallery -> addMedia for example

With this fix, when the modal refreshes its content with a new form/a, the new nodes have their events click or submit caught.