Search and Top Navigation
#5486 closed bug (wontfix)
Opened April 06, 2010 01:04PM UTC
Closed April 06, 2010 07:10PM UTC
Last modified October 11, 2012 09:15PM UTC
Dialog destroy method doesn't return element into it's initial position in DOM
Reported by: | jan.lender | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.dialog | Version: | 1.8 |
Keywords: | dialog destroy | Cc: | |
Blocked by: | Blocking: |
Description
After the destroy method is called the source element is not returned to DOM properly but it is pasted as last child of its parent element regardless of its initial position. I'm attaching source.
We can't guarantee that this will work because the page contents can change. Also, the common use case for dialogs doesn't result in them being placed back into the page. Implementing this yourself is very easy.