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

john_the_noob’s picture

I added "#content-content" as "Content Selector", now it works with every browser but IE -> there seems to be another problem with popup.js.

john_the_noob’s picture

I 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 !

esmerel’s picture

Status: Active » Closed (duplicate)