Closed (duplicate)
Project:
Fusion
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2010 at 16:55 UTC
Updated:
6 Apr 2012 at 17:22 UTC
Hi,
there is a problem when using the latest pop-up api (6.x-2.0 alpha5). I know it´s alpha , but some modules (Popups: Subedit..) already depend on 6.x 2.0 -> and the bug is theme related.
When closing a pop-up it says:
The popup content area for this theme is misconfigured.
There is no element that matches "div.left-corner > div.clear-block:last"
Go to admin/build/themes/settings, select your theme, and edit the "Content Selector" field
However, that is not the problem. When i switch to garland wich uses the same setting, everything works just fine.
I hope somebody can point me in the right direction !
Comments
Comment #1
john_the_noob commentedI added "#content-content" as "Content Selector", now it works with every browser but IE -> there seems to be another problem with popup.js.
Comment #2
john_the_noob commentedI found a patch somewehre in the popups API group, and edited the popups.js by hand, now it works.
Try at your own risk..
Replace these 2 lines :
Popups.popupStack.splice(Popups.popupStack.indexOf(popup), 1); // Remove popup from stack. Probably should rework into .pop()
}
with:
for (var i = 0; i < Popups.popupStack.length; i++) {
if (Popups.popupStack[i] == popup) {
Popups.popupStack.splice(i, 1); // Remove popup from stack. Probably should rework into .pop()
}
}
}
Worked for me.
By the way: Thx to the fusion team for your great work !
Comment #3
esmerel commented#800066: Fusion + Popups API + Jquery 1.3.2