Daytimeline and custom lightbox

Hello,

When I use daytimeline extention and custom lightbox I get error when call lightbox.save().
In other views everything works fine.
If use daytimeline and standart lightbox then everything works too.

What could be the problem?

Thanks!

Error details:
TypeError: e.end_date.getDate is not a function
scheduler.isOneDayEvent dhtmlxscheduler.js:191
r dhtmlxscheduler_daytimeline.js:12
e.get_visible_events dhtmlxscheduler_daytimeline.js:24
o dhtmlxscheduler_timeline.js:17
_ dhtmlxscheduler_timeline.js:31
e._renderMatrix dhtmlxscheduler_timeline.js:58
e._renderMatrix dhtmlxscheduler_daytimeline.js:18
(anonymous function) dhtmlxscheduler_timeline.js:76
z dhtmlxscheduler.js:51
obj.callEvent dhtmlxscheduler.js:51
(anonymous function) dhtmlxscheduler.js:91

Hi,

e.end_date.getDate is not a function From this error it seems that event got an undefined or a null value as an end_date
Is it possible that your custom save function does not save this value?

Hi Aliaksandr,

I think no.
In this case I’ll get an error in each view mode.
But I get the error only in daytimeline mode.
I can create an event in other view, but when I create the new event in other view and change view mode on daytimeline I also get the error.

Moreover I call standard lightbox.save().