diff --git a/src/Resources/views/CRUD/Association/edit_many_script.html.twig b/src/Resources/views/CRUD/Association/edit_many_script.html.twig index b6d354dd37..c6c709c169 100644 --- a/src/Resources/views/CRUD/Association/edit_many_script.html.twig +++ b/src/Resources/views/CRUD/Association/edit_many_script.html.twig @@ -279,6 +279,9 @@ This code manages the many-to-[one|many] association field popup jQuery(form).ajaxSubmit({ url: url, type: type, + headers: { + Accept: 'application/json' + }, data: data, success: function(data) { Admin.log('[{{ id }}|field_dialog_form_action] ajax success');