Using Display Suite, I sometimes create a Display Suite block field containing a Box block. This breaks the Box contextual links if there are multiple such fields on one page. Turns out the jQuery selector tries to find the block parent using .parents(".block"), however in the above scenario, both DS and Boxes outputs a container with a class of "block".

The attached patch simply changes the jQuery selector to .closest, which finds the correct block container.

Comments

robschmitt’s picture

Issue summary: View changes

Status: Needs review » Needs work

The last submitted patch, boxes_ds_contextual_links_fix-D7.diff, failed testing.

robschmitt’s picture

StatusFileSize
new743 bytes

Rerolled patch against the tip.

robschmitt’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: boxes-contextual_links_ds_fix-2492707-2.patch, failed testing.

brandonc503’s picture

subscribe. im gana test this soon btw