Bug Tracker

Ticket #2569 (closed bug: invalid)

Opened 9 months ago

Last modified 7 months ago

[ui Dialog] functional demo -> dialog stays

Reported by: c_t Assigned to: braeker
Type: bug Priority: minor
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords:
Cc: Needs: Review

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

Change History

Changed 9 months 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.

Changed 8 months ago by paul

  • owner changed from paul to rworth

Changed 7 months ago by paul

  • owner changed from rworth to braeker

Changed 7 months ago by paul

  • priority changed from major to minor

Changed 7 months ago by braeker

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.