Browse Source

Fix jQuery 1.7.1 dataType for one-to-many association list button

Vladimir Savenkov 13 years ago
parent
commit
a6b9665230
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Resources/views/CRUD/edit_orm_many_association_script.html.twig

+ 1 - 0
Resources/views/CRUD/edit_orm_many_association_script.html.twig

@@ -77,6 +77,7 @@ This code manage the many-to-[one|many] association field popup
         // retrieve the form element from the related admin generator
         // retrieve the form element from the related admin generator
         jQuery.ajax({
         jQuery.ajax({
             url: a.attr('href'),
             url: a.attr('href'),
+            dataType: 'html',
             success: function(html) {
             success: function(html) {
 
 
                 Admin.log('[{{ id }}|field_dialog_form_list] retrieving the list content');
                 Admin.log('[{{ id }}|field_dialog_form_list] retrieving the list content');