Skip to main content

Search and Top Navigation

#5375 closed bug (fixed)

Opened March 18, 2010 01:06PM UTC

Closed March 18, 2010 01:25PM UTC

Last modified October 11, 2012 09:15PM UTC

Dialog causes error if dialog is destroyed at least twice

Reported by: dakota Owned by:
Priority: critical Milestone:
Component: ui.dialog Version: 1.8rc3
Keywords: Cc:
Blocked by: Blocking:
Description

This is a strange, but easily repeatable bug.

If you create a dialog and then destroy it on close after number of times things start failing. The 1st and 2nd time it works fine. On the third time this error message appears:

$("<div></div>").addClass("ui-widget-overlay") is undefined

File: http://cmscout.co.za/testjs/js/jquery-ui-1.8rc3.custom.js
Line: 2527

Thereafter 2*n (Even) times it works and 2*n-1 (Odd) times it doesn't.

Test case is available at http://cmscout.co.za/testjs/

Attachments (0)
Change History (4)

Changed March 18, 2010 01:23PM UTC by ajpiano comment:1

I could not duplicate this issue against the current SVN trunk

http://jsbin.com/ojece/3

Changed March 18, 2010 01:25PM UTC by ajpiano comment:2

resolution: → fixed
status: newclosed

This issue has already been addressed in trunk, closing this ticket.

Changed March 20, 2010 10:11PM UTC by scottgonzalez comment:3

Duplicate of #5228.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted