First of all thanks for this great module.

It's all working perfect on the site i'm working on, except for one thing:

I created a custom node-delete-button in the node/edit form. This button is nothing more than a link refering too node/*/delete. I'm using hook_popups to so this button opens the 'node delete confirm form' in a popup.

'node/*/edit' => array(
			'.node-form a.node-form-delete' => array(
				'updateMethod' => 'reload',
			),
		);

Once you click delete, the node gets deleted as it should. But the popup stays open, and the destination (user profile page) gets loaded inside the popup. Ofcourse I need the popup to close first, and then go to the destination. I tried the autoclose option in the popup settings, but that doesn't make a difference.

Any ideas on how to fix this will be very much appreciated!

Comments

rambo2000’s picture

still haven't found a solution for this... anyone?

ShadowMonster’s picture

Have same problem

Subscribe!

tugis’s picture

Another one with the same problem as described...

Subscribing

dawansv’s picture

Same problem in different contexts are reported in #1196154: Page reload ends up in the same popup window and #1148820: PopUp doesn't close after submitting a form.

As mentioned there, alpha 6 does not have this bug. Try reverting to alpha 6 to temporarily solve the problem.

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -popups, -close, -node delete confirm

I am closing this issue, as Drupal 6 is no longer supported.