Skip to main content

Search and Top Navigation

#2569 closed bug (notabug)

Opened March 21, 2008 11:23AM UTC

Closed May 21, 2008 03:41AM UTC

Last modified May 24, 2008 03:39AM UTC

[ui Dialog] functional demo -> dialog stays

Reported by: c_t Owned by: eduardo
Priority: minor Milestone:
Component: ui.core 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 (6)

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

Changed May 24, 2008 03:39AM UTC by comment:6

milestone: 1.2.4

Milestone 1.2.4 deleted