[Phpmyadmin-devel] Date-time picker

Piotr Przybylski piotr.prz at gmail.com
Mon Aug 22 20:29:49 CEST 2011


2011/8/22 Tyron Madlener <tyronx at gmail.com>:
> On Mon, Aug 22, 2011 at 8:23 PM, Madhura Jayaratne <madhura.cj at gmail.com> wrote:
>> Hi Aris,
>> The icon to open the date-time picker in table-insert and table-search pages
>> has gone missing.
>> It seems like conditionĀ if ($.datetimepicker != undefined) in function.js
>> (line 688) is causing this. Was this condition added to prevent some JS
>> errors or can we remove it?
>> Also, the date-time picker does not seem to display the month anywhere or
>> change the year at the top when the arrows on either side of it are clicked.
>>
>
> Piotr added this line with commit
> 84cc7837f5da69c588f7503da0acc9512ff29619, though I don't quite know
> why.
>

I was seeing a JS error on server Status page, because the script was
trying to use $.datepicker which is there loaded on demand: .datefield
and .datetimefield elements exist there but they should be initialized
only when Monitor tab is used (timepicker's .js file is then
dynamically loaded).

-- 
Piotr Przybylski




More information about the Developers mailing list