Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
overlay.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Dec 2010 at 12:28 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hazaSeems to be a overlay bug. (I can't reproduce that if overlay is disable).
Overlay try to add is own fragment to the url. As long as the link to the comment append a fragment too, we have two fragment in the url (comment link + overlay context).
Maybe something to look in overlay-parent.js near
That means we can have the same problem with any link, inside the overlay, that ships with his own fragment.
Comment #2
ksenzeeYes, this will be a problem with any link that's meant to close the overlay and already has a fragment. I'm not 100% sure what we want it to do though. The overlay-context behavior was added for the block demonstration page, but it's useful in any situation where you have a "go back to the admin page" type of link.
Maybe we should check the link before we add the overlay-context parameter to it, and if it has a fragment already, we leave it alone. Here's a patch that takes that approach. Comments welcome.
Comment #3
grendzy commentedThis works for me. Here's a post-corepocalypse reroll.
Comment #4
scor commentedThanks @ksenzee + @grendzy. patch tested and works.
Comment #5
webchickThis looks pretty safe to backport, yeah?
Comment #6
ksenzeeYes, should be safe to backport.
Comment #7
catchMakes sense, commited/pushed to 8.x, moving back to 7.x.
Comment #8
scor commentedreroll for D7. tested and works in D7.
Comment #9
grendzy commentedThanks for the port scor. I have this patch running on several D7 sites.
Comment #10
webchickAwesome, thanks!
Committed and pushed to 7.x.