Closed (fixed)
Project:
Dialog
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2012 at 01:01 UTC
Updated:
2 Feb 2012 at 09:10 UTC
Jump to comment: Most recent file
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?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | dialog-detach-closing-elements-1399256-1.patch | 584 bytes | smithmilner |
Comments
Comment #1
smithmilner commentedFirst shot in the dark at hooking into the dialog closing.
Comment #2
smithmilner commentedComment #3
robloachThanks! http://drupalcode.org/project/dialog.git/commit/2ff76c6
Comment #4
jantimon commentedIs 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."