Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2569 closed bug (notabug)

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


This is only a simple one: When browsing the functional demos on 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)

comment:1 Changed 15 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 15 years ago by paul

Owner: changed from paul to rworth

comment:3 Changed 15 years ago by paul

Owner: changed from rworth to braeker

comment:4 Changed 15 years ago by paul

Priority: majorminor

comment:5 Changed 15 years ago by braeker

Resolution: invalid
Status: newclosed

comment:6 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

Note: See TracTickets for help on using tickets.