Ticket #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: | markus.kemmerling@… | |
| Blocking: | Blocked by: |
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
Change History
comment:1 Changed 4 years ago by joern.zaefferer
- Priority changed from minor to major
- Milestone changed from TBD to 1.8
comment:2 Changed 3 years ago by duelli
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!


