[Phpmyadmin-devel] Timepicker dialog
Michal Čihař
michal at cihar.com
Thu Jul 21 13:47:46 CEST 2011
Hi
Dne Tue, 19 Jul 2011 13:02:35 +0300
Tyron Madlener <tyronx at gmail.com> napsal(a):
> Rouslan, about your patch "Fix for bug #3354356 - Timepicker does not
> work in AJAX dialogs", commit 9e34ccf57cfc97c3cac6d7f9ceecd6e1cc89e10d
>
> This fix is flawed. The z-index is calculated by the amount of opened
> widgets. So as soon as there is one more widget opened, the timepicker
> will appear in the background again.
>
> One way to get it working would be using following code in the
> beforeShow event in PMA_addDatepicker()/functions.js
>
> // 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);
>
> If pushed this change to my repo, so if it will be merged to master,
> the bug will be fixed already.
Cherry picked to master, thanks.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110721/cf5b4e80/attachment.sig>
More information about the Developers
mailing list