فهرست منبع

Removed td reference in the script for many association. This change allows to change the template of the view and still use the scripts

Francisco Facioni 13 سال پیش
والد
کامیت
e1ba9075f9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Resources/views/CRUD/edit_orm_many_association_script.html.twig

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

@@ -34,7 +34,7 @@ This code manage the many-to-[one|many] association field popup
 
         Admin.log('[{{ id }}|field_dialog_form_list_link] handle link click in a list');
 
-        var element = jQuery(this).parents('#field_dialog_{{ id }} td.sonata-ba-list-field');
+        var element = jQuery(this).parents('#field_dialog_{{ id }} .sonata-ba-list-field');
 
         // the user does click on a row column
         if (element.length == 0) {