Active
Project:
Boxes
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 May 2014 at 14:32 UTC
Updated:
28 Nov 2016 at 18:32 UTC
Jump to comment: Most recent, Most recent file
When I nest a box in another blocks (for instance on my own custom block), the contextual links of the outer block is being changed by blocks.js.
I don't think this is a desirable behavior.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boxes-closest_contextual-2269603-1.patch | 730 bytes | xaqrox |
| blocks.js_.patch | 906 bytes | eltermann |
Comments
Comment #1
xaqroxI had the exact same problem: I used
views_block_areato embed a box in a view that was providing a block display, and this JS was replacing the "Configure block" link for the parent view block as well as the box. I used jQuery'sclosest()instead of the:firstselector which I think provides better readability and precision.The real solution to this problem is probably going to be in #2448153: Add "Edit Box" Contextual Link more properly, but I didn't have time to mess around with contextual links API, just needed quick access to my view block config!