浏览代码

Merge pull request #22 from F5/master

Removed td reference in the script for the 'many' associations
Thomas 13 年之前
父节点
当前提交
4da4ede3df
共有 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

@@ -37,7 +37,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) {