aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorBrant Burnett <btburnett3@gmail.com>2010-02-01 16:10:41 +0000
committerBrant Burnett <btburnett3@gmail.com>2010-02-01 16:10:41 +0000
commit5b61537e6e759cacc4295887200db6ac07086f54 (patch)
treef2c9e202c06423da56defbc12cfca9531f565f25 /ui/jquery.ui.dialog.js
parenta4daa10f53e9c6aa5a9b5641730fd7576ae6f6f8 (diff)
downloadjquery-ui-5b61537e6e759cacc4295887200db6ac07086f54.tar.gz
jquery-ui-5b61537e6e759cacc4295887200db6ac07086f54.zip
Datepicker: Fixed #4453 UI Datepicker inside UI Dialog Issue
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 7694810b1..7d4b3c8cd 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -601,7 +601,7 @@ $.extend($.ui.dialog.overlay, {
if ($.ui.dialog.overlay.instances.length) {
$(document).bind($.ui.dialog.overlay.events, function(event) {
// stop events if the z-index of the target is <= the z-index of the overlay
- return ($(event.target).zIndex() > $.ui.dialog.overlay.maxZ);
+ return ($(event.target).zIndex() >= $.ui.dialog.overlay.maxZ);
});
}
}, 1);