Opened 13 years ago
Closed 13 years ago
#4898 closed bug (fixed)
$.ui.dialog.overlay: Too many events disabled
Reported by: | mkemmerling | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8 |
Component: | ui.dialog | Version: | 1.7.2 |
Keywords: | Cc: | [email protected]… | |
Blocked by: | Blocking: |
Description
The $.ui.dialog.overlay widget disables events on base of the event target's parent '.ui-dialog' element's z-index. This will also disable key events whose target happen to be the '.ui-dialog' itself, i.e copying with <CTL>-C. This can easily be verified with the modal dialog demo on the jQuery UI website.
Explicitely including the '.ui-dialog' element as possible event target fixes the problem. The attached ui.dialog.js patch adds .andSelf()
at the approbiate position.
Attachments (1)
Change History (5)
Changed 13 years ago by
Attachment: | ui.dialog.js.patch added |
---|
comment:1 Changed 13 years ago by
Milestone: | TBD → 1.8 |
---|---|
Priority: | minor → major |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
We also had this problem with ui.dialog and copy-pasting under WinXP and FF. As far as I known we have not seen these problems with WinXP and IE or Linux and FF, though.
I can confirm that the attached patch works as intended and solves copy-pasting from a ui.dialog with WinXP and FF.
Please fix this for release 1.8!