Topic: time picker not closing

Hi,
after fresh install of  5.2.0 Mysql I realised, that the timepicker fields are not closing after clicking a time.

Javascript error:
Uncaught TypeError: Cannot read properties of null (reading 'style')
at updateTimeField (dtpicker.js:185:8)
at HTMLSpanElement.onclick (index.php:1:1)

Is it just me? Nobody noticed? roll

Stefan

Re: time picker not closing

Hi Stefan,
No, it's not just you! This is a bug.
To solve this problem, edit the file "common/dtpicker.js" and change line 184 from . . .

var tpDiv = $I("tpDiv");

to . . .

var tpDiv = $I("tPicker");

This problem will of course be solved in the next calendar version.
Thanks for reporting this problem! You are an excellent calendar tester smile
Roel

Re: time picker not closing

Hi Roel,

I allready was at that line in the file but couldn't find out more ...
Thanks for that.
Yes - because of all my trials and coding arround "flexible fields" I have to test a lot and find more and more functions of luxcal I did not use till now - but sometimes there are bugs too wink

Stefan