Active
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-2.0-alpha5
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2009 at 23:37 UTC
Updated:
17 Feb 2010 at 07:35 UTC
Prerequisites: having a separate admin section template enabled
When I click a popup link that loads a page outside of admin section, certain elements of the page change to match the default template, while others remain like the admin template -- it seems the CSS from the popup window is getting applied to the whole page (so you end up with a mishmash). There should be a way for the popup CSS to be limited to just the window (like it should in an IFRAME).
Screenshot here: http://screencast.com/t/8wIK4Goim6OM
(upload form wouldn't work)
Using Firefox 3.5.3, Drupal 6 latest, Popups 6.x-2.0-alpha5
Simon.
Comments
Comment #1
zoo33 commentedSame thing happens when using the Sections module and the popup and the referrer page aren't in the same section. I've finally solved this with a custom hook_init() implementation. See code below. A corresponding implementation for the case of a separate admin theme should be a lot simpler. Hope this helps someone.