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.
If you have loaded an admin page in the full browser window (i.e. not in the overlay), and you click on a link to another admin page, the overlay will flash briefly before the next page is loading. This behaviour is not there if only the overlay module and not the overlay_paths modules is enabled.
The bug is in this line:
$return = drupal_match_path($path, overlay_paths_get_overlay_patterns()) || (path_is_admin($path) && !overlay_paths_get_overlay_patterns(FALSE));
I suppose the intentions is to match $path against the patterns returned by overlay_paths_get_overlay_patterns().
Comment | File | Size | Author |
---|---|---|---|
overlay-paths-1.patch | 741 bytes | c960657 | |
Comments
Comment #1
torotil CreditAttribution: torotil commentedI've tracked down the bug too and found the same solution. The patch works as expected. Thanks for providing it.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedThanks very much for the bug report, and the patch! Committed to 7.x-1.x