Added support for many-to-many inline editing in sonata_type_collection
DRAFT: Trigger the Javascript Event "onSonataAdminAjaxResponse"

Available 'action'

// For type 'sonata_type_model_list'
sonata_type_model_list_add_by_select
sonata_type_model_list_add_by_create
sonata_type_model_list_delete
sonata_type_model_list_new_row

// For type 'sonata_type_model'
sonata_type_model_create

Format / Informations available in this event:

{
  type:           "onSonataAdminAjaxResponse" // event name
  action:         // name of the 'action' (see above) triggering the event.

  responseError:  // error object from ajax response
  responseData:   // ajax response

  // modified object informations
  objectId:
  code:
  uniqid:
  elementId: // css id of the element (used to write e.g. the hidden id into the form)

  // parent form informations
  root: {
    objectId:
    code:
    uniqid:
  },
}
Added comments "trigger an onSonataAdminAjaxResponse event with action!"
Removed test comments :D
Fixed syntax error!
Merge pull request #284 from pulzarraider/many_to_many_inline

Added support for many-to-many inline editing in sonata_type_collection
Merge remote-tracking branch 'upstream/master'
Added isAction Method

// action, code, root.code

// trigger only, if bundlepublisher form has been embedded (sonata_form_opened) from bundle form
if (e.isAction('sonata_form_opened', 'sonata.admin.bundlepublisher', 'sonata.admin.bundle')) {
  alert('matched');
}

// true on all actions triggered on bundle form!
if (e.isAction(null, null, 'sonata.admin.bundle')) {
  alert('matched');
}

// if a bundlepublisher event is triggered from bundle form
if (e.isAction(null, 'sonata.admin.bundlepublisher', 'sonata.admin.bundle')) {
  alert('matched');
}
Added calls of Epic.triggerSonataAdminEvent() from SonataAdmin Project.

 Available Event Actions by now:

-  sonata_type_model_list_delete
-  sonata_type_model_list_add_by_select
 - sonata_type_model_list_add_by_create
 - sonata_type_model_list_new_row

 - sonata_form_opened

 - sonata_type_model_create
Optimized Epic.triggerSonataAdminEvent()
Added new actions to  Epic.triggerSonataAdminEvent()

     * Available actions for event type:
     * sonataAdminEvent
     * - sonata_type_model_list_delete
     * - sonata_type_model_list_add_by_select
     * - sonata_type_model_list_add_by_create
     * - sonata_type_model_list_new_row
     * - sonata_type_model_create
     * - sonata_dialog_initialize
     * - sonata_dialog_form_opened
     * - sonata_dialog_form_closed
     * - sonata_dialog_list_opened
     * - sonata_dialog_list_closed
Fixed typo
Added new actions to  Epic.triggerSonataAdminEvent()

renamed available actions
Merge pull request #286 from pborreli/patch-1

Fixed typo
Fix unpersisted ckeditor fields.
Merge remote-tracking branch 'upstream/master'