[ui Dialog] functional demo -> dialog stays
This is only a simple one:
When browsing the functional demos on http://dev.jquery.com/view/trunk/ui/demos/functional/ and selecting "Dialog" a Dialog gets created immediately.
However this dialog stays there when selecting other demos. When selecting "Dialog" again, a second dialog gets created.
I guess an additional $('#dialogDiv').dialog("destroy") is needed, whenever one leaves the dialog demo.
Change History (6)
Owner: |
changed from paul to rworth
|
Owner: |
changed from rworth to braeker
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
Oh well, again I should have made more investigations before filing this bug:
It seems more like an issue in /ui/demos/functional/js/demo.js : The destroy-method of each demo is fired onChange of the slectables in each demo. I suggest firing the destroy-method of the currently loaded demo in the loadDemo method before loading a new demo.