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.
In the event where panels.js or panels-base.js is called after display_editor.js (I managed to do this by calling $renderer::add_meta() a second time in a specialized renderer class) all of the drag and drop methods are wiped out because Drupal.Panels is re-initialized to an empty object {}. I propose initializing Drupal.Panels in the same manner the the global Drupal object is initialized:
Drupal.Panels = Drupal.Panels || {};
Comment | File | Size | Author |
---|---|---|---|
#1 | base-js-1529208-1.patch | 920 bytes | helior |
Comments
Comment #1
helior CreditAttribution: helior commentedComment #2
MTecknology CreditAttribution: MTecknology commentedI ran into this issue when trying to use Panel Frame and this patch resolved it.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted and pushed.