I had a gmap working inside of a dialog popup on first popup. If i closed the popup window and reopened it the map would explode because it was colliding with it's previous twin. Shouldn't dialog detach elements inside of it when it closes?

Comments

smithmilner’s picture

First shot in the dark at hooking into the dialog closing.

smithmilner’s picture

Status: Active » Needs review
robloach’s picture

Status: Needs review » Fixed
jantimon’s picture

Is there any use-case where a closed dialog is reopened by javascript?
Otherwise it would be smart to unbind all dialog bindings and remove the html:

$(this).dialog('destroy').remove();

"Remove the dialog functionality completely. This will return the element back to its pre-init state."

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.