Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Box inside panel does not have the "Edit box" link
The problem was introduced in issue #1093550: Replace "Edit" text with Contextual Links.
The change was that the edit link should be moved to contextual link, but if the If the Contextual Links module is disabled, then there is no link at all.
the problematic code:
boxes.js
// See if we are within a panel.
if ($(this).parent().parent().hasClass("pane-content")) {
$(this).hide(); <-- box controls are hidden without checking if it can be moved to contextual link
}
Comment | File | Size | Author |
---|---|---|---|
#1 | boxes-panels-contextual-2408507.patch | 793 bytes | tylersamples |
Comments
Comment #1
tylersamples CreditAttribution: tylersamples commentedI made a patch that removes the hide and adds the 'Edit Box' to the panel's contextual link. See the patch attached.