diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-12-10 15:52:39 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-12-10 15:52:39 +0100 |
| commit | 7852c12d8a212fc85889a0a63300b3f6b207c0ea (patch) | |
| tree | 1b5c956fd659e7cb5302fcc4db7f34378269a92d /addons/web/static/lib/jquery.ui | |
| parent | f5bc832b4181ba334ffe709a91cde81160ced1e0 (diff) | |
[FIX] Better fix for unclickable z-indexed items in dialogs. (Patching jQuery UI dialog)
bzr revid: fme@openerp.com-20121210145239-0x1sprin6hp66ghl
Diffstat (limited to 'addons/web/static/lib/jquery.ui')
| -rw-r--r-- | addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js b/addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js index f0fa9c321d4..9992bc6337c 100644 --- a/addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js +++ b/addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js @@ -8952,7 +8952,8 @@ $.extend( $.ui.dialog.overlay, { $( document ).bind( $.ui.dialog.overlay.events, function( event ) { // stop events if the z-index of the target is < the z-index of the overlay // we cannot return true when we don't want to cancel the event (#3523) - if ( $(event.target).closest('.ui-dialog').zIndex() < $.ui.dialog.overlay.maxZ ) { + if ($(event.target).zIndex() < $.ui.dialog.overlay.maxZ && + $(event.target).closest('.ui-dialog').zIndex() < $.ui.dialog.overlay.maxZ) { return false; } }); |
