[IMP]lib issue of jquery ui custom.bug already post on jquery ui support http://bugs...
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>
Mon, 3 Dec 2012 10:27:36 +0000 (15:57 +0530)
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>
Mon, 3 Dec 2012 10:27:36 +0000 (15:57 +0530)
bzr revid: vme@tinyerp.com-20121203102736-usb3qcd03sdxkxfi

addons/web/static/lib/jquery.ui/js/jquery-ui-1.9.1.custom.js

index 8ff02b2..f0fa9c3 100644 (file)
@@ -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;
                                                }
                                        });