From a7b9f38c61d4c390b692719a6ba5c1594aa6d83e Mon Sep 17 00:00:00 2001 From: Tyron Madlener Date: Tue, 19 Jul 2011 12:59:13 +0300 Subject: [PATCH] Fixes wrong z-index of timepicker --- js/functions.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/functions.js b/js/functions.js index 2a147d862d..7f0c90f960 100644 --- a/js/functions.js +++ b/js/functions.js @@ -157,6 +157,11 @@ function PMA_addDatepicker($this_element) { // Remember that we came from the datepicker; this is used // in tbl_change.js by verificationsAfterFieldChange() $this_element.data('comes_from', 'datepicker'); + + // Fix wrong timepicker z-index, doesn't work without timeout + setTimeout(function() { + $('#ui-timepicker-div').css('z-index',$('#ui-datepicker-div').css('z-index')) + },0); }, constrainInput: false });