Active
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-2.0-beta0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2011 at 18:55 UTC
Updated:
1 Feb 2012 at 10:05 UTC
In Popups.addCSS any CSS that is added to the page is saved as
Popups.addedCSS[href] = 1;
Then in restorePage it attempts to remove the CSS with the following;
$('link[href='+ Popups.addedCSS[i] + ']').remove();
where 'i' is an iterator over Popups.addedCSS this is always evaluated as the following;
$('link[href='1'].remove();
Attached patch resolves the issue for me.
| Comment | File | Size | Author |
|---|---|---|---|
| popups.diff | 547 bytes | jgraham |
Comments
Comment #1
mattcasey commentedThis patch works for me.. all the extra CSS files mess up my theme in IE, but this at least returns it to normal once the popup disappears.