sonata-project/SonataDoctrineORMAdminBundle — pull request #118 by thanosp (2012-06-28 15:31:26+00:00)
Title: Creating a new entity with an ajax popup from a 'list', bugfix

Creating a new entity with an ajax popup from a 'list' type does not
update the hidden select element to include the new item.

This unifies the code so that lists require just an extra change() event to be fired, for the short_object_description to be updated.

How to reproduce:
many/one-to-many relation with 'edit' => 'list' in the settings.
Creating a new entity will close the popup without selecting an element and will fire a short_object_description ajax call with an empty objectId.

This might be affecting 2.0 as well but can't test it effectively.