Sorry, cannot think of a better way to describe it. See attached screen shot for details.

On compleeting the new row and saving, the problem seems to go away, however its hard to give it to users asis.

I get the same result with teh beta1 and Dev versions. Running with field collections 7.x-1.0-beta5+1-dev

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nerdoc’s picture

Here 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.

gcb’s picture

Status: Active » Needs review
FileSize
419 bytes

This 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.

scott.browne’s picture

Your 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.

loophole080’s picture

confirmed the patch works a treat, thanks gcb

bneel’s picture

+1 patch #2
Thx @gcb