Changes between Initial Version and Version 4 of Ticket #5649


Ignore:
Timestamp:
Oct 22, 2012, 8:00:49 PM (7 years ago)
Author:
Jörn Zaefferer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5649

    • Property Keywords reuse coupling removed
    • Property Status changed from new to open
    • Property Summary changed from overlay reuse coupling problem to Dialog: multiple modal dialog zindex conflicts
    • Property Milestone changed from TBD to 1.10.0
  • Ticket #5649 – Description

    initial v4  
    11Look at the following code in the ui.dialog file:
    2                                         $(document).bind($.ui.dialog.overlay.events, function(event) {
     2
     3{{{
     4$(document).bind($.ui.dialog.overlay.events, function(event) {
    35// stop events if the z-index of the target is < the z-index of the overlay
    46    return ($(event.target).zIndex() >= $.ui.dialog.overlay.maxZ);
    57});
     8}}}
    69
    710The value of '$.ui.dialog.overlay.maxZ' will be changed if a second modal dialog opend and this will cause the events handler return false. For example, if you click a radio on the first dialog to open a new second dialog, this raido will never be checked.