Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2569 closed bug (invalid)

[ui Dialog] functional demo -> dialog stays

Reported by: c_t Owned by: braeker
Priority: minor Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

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 (5)

comment:1 Changed 12 years ago by c_t

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.

comment:2 Changed 12 years ago by paul

Owner: changed from paul to rworth

comment:3 Changed 12 years ago by paul

Owner: changed from rworth to braeker

comment:4 Changed 12 years ago by paul

Priority: majorminor

comment:5 Changed 12 years ago by braeker

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.