Active
Project:
No Table Drag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2015 at 10:30 UTC
Updated:
5 Apr 2016 at 08:42 UTC
Jump to comment: Most recent
HI,
I'm trying to use this module with an Entity Reference field (with autocomplete widget) and it doesn't work... Does somebody have the same issue?
Thanks!
Comments
Comment #2
hyltonmillar commentedIf you change line 22 to:
if ((isset($element['#field_name']) or isset($element['target_id']['#field_name'])) and isset($context['instance']['settings']['no_table_drag'])) {
then it works.
It needs to check in the target_id array for the field_name for entity reference fields