Fixes wrong z-index of timepicker

This commit is contained in:
Tyron Madlener 2011-07-19 12:59:13 +03:00 committed by Michal Čihař
parent 9fb8bf6ce6
commit a7b9f38c61

View File

@ -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
});