Needs review
Project:
Field Collection Table
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2013 at 22:17 UTC
Updated:
7 Oct 2013 at 13:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nerdoc commentedHere too.
This only occurs when using the table formatter.
In this tr there is created a td class="draggable odd", and then an empty td element, and the tr is closed.
This wrong row here is firstly created as row 0, when clicking on "add" again, an empty row is created as row 1 (between 0 and 2), and then (randomly?) either 0 or 1.
Comment #2
gcbThis is strange, and I'm not sure I found the root cause, but running a quick check on the theme function for this funky empty item and ignoring it works for me. Patch attached.
Comment #3
scott.browne commentedYour patch worked great. You've saved me a great deal troubleshooting. I've already spent several hours staring at it. Thank you so much :)
Without it, most ajax functions were locked or unusable.
Comment #4
loophole080 commentedconfirmed the patch works a treat, thanks gcb
Comment #5
bneel commented+1 patch #2
Thx @gcb