Skip to main content

Bug Tracker

Side navigation

#2569 closed bug (invalid)

Opened March 21, 2008 11:23AM UTC

Closed May 21, 2008 03:41AM UTC

[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.

Attachments (0)
Change History (5)

Changed March 21, 2008 11:30AM UTC by c_t comment:1

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.

Changed March 25, 2008 02:47PM UTC by paul comment:2

owner: paulrworth

Changed May 04, 2008 08:50AM UTC by paul comment:3

owner: rworthbraeker

Changed May 04, 2008 08:44PM UTC by paul comment:4

priority: majorminor

Changed May 21, 2008 03:41AM UTC by braeker comment:5

resolution: → invalid
status: newclosed