From 2e05f7f6f5cef83115876b629012017236bee587 Mon Sep 17 00:00:00 2001 From: "Vidhin Mehta (OpenERP)" Date: Mon, 3 Dec 2012 15:57:36 +0530 Subject: [PATCH] [IMP]lib issue of jquery ui custom.bug already post on jquery ui support http://bugs.jqueryui.com/ticket/5466. bzr revid: vme@tinyerp.com-20121203102736-usb3qcd03sdxkxfi --- addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8ff02b23145..f0fa9c321d4 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,7 @@ $.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 ).zIndex() < $.ui.dialog.overlay.maxZ ) { + if ( $(event.target).closest('.ui-dialog').zIndex() < $.ui.dialog.overlay.maxZ ) { return false; } });