In field_collection_field_attach_form(): 'remove button' ad 'add_more' ajax wrapper is empty because checking 'widget type' that is not true for all possible widgets except 'field_collection_embed'

Comments

webpavilion created an issue. See original summary.

webpavilion’s picture

StatusFileSize
new870 bytes

This works for me using widget 'field_collection_table'.

Status: Needs review » Needs work

The last submitted patch, 2: field_collection-ajax_remove-2604372-1.patch, failed testing.

webpavilion’s picture

StatusFileSize
new885 bytes
webpavilion’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: field_collection-ajax_remove-2604372-2.patch, failed testing.

sanka’s picture

included patch with next comment.

sanka’s picture

I resolved this issue (from my point of view and project needs) with those changes.
Now, ajax "remove" button works for field_collection_embed and field_collection_table widget types.