Opened 13 years ago
Closed 12 years ago
#5523 closed bug (fixed)
Dialog overlay bug for nested dialogs
Reported by: | w4x | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8.7 |
Component: | ui.dialog | Version: | 1.8 |
Keywords: | dialog overlay | Cc: | |
Blocked by: | Blocking: |
Description
info: http://stackoverflow.com/questions/2637327/jquery-ui-modal-dialogs
reproduce: http://jsbin.com/otama Steps to reproduce:
- create a dialog (dialog) by clicking on the button
- create another dialog (dialogA) by clicking on the "create" button inside first dialog
- close dialogA
- repeat steps 2-3
- overlay of the first dialog has been disappeared
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
I can duplicate this in 1.8.2. Very frustrating. Thanks for the workaround!
comment:3 Changed 12 years ago by
Milestone: | → 1.9 |
---|
comment:4 Changed 12 years ago by
Using the latest jQuery UI (1.8.13) this bug appears to be fixed. See http://jsbin.com/otama/38 (Updated the original example to use the latest jQuery UI)
comment:5 Changed 12 years ago by
Milestone: | 1.9 → 1.8.7 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
jQuery UI 1.8 uncompressed version
jquery.ui.dialog.js
Problem:
line 174(dialog destroy), 204(dialog close)
line 724(overlay destroy)
"duplicate overlay.destroy()" makes "instances & oldInstances in $.ui.dialog.overlay" broken.
Workaround-A: line 724(overlay destroy)
Workaround-B: line 204(dialog close)