mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
Fix drag and drop across some months could change event to the wrong (± 1) month
This commit is contained in:
parent
1f75f2c105
commit
4553b4c3be
@ -412,9 +412,9 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
|
|||||||
}
|
}
|
||||||
if(event_widget)
|
if(event_widget)
|
||||||
{
|
{
|
||||||
event_widget._parent.date_helper.set_year(drop_date.substring(0,4));
|
event_widget._parent.date_helper.set_value(drop_date.substring(0,4)+'-'+drop_date.substring(4,6)+'-'+drop_date.substring(6,8));
|
||||||
event_widget._parent.date_helper.set_month(drop_date.substring(4,6));
|
|
||||||
event_widget._parent.date_helper.set_date(drop_date.substring(6,8));
|
|
||||||
// Make sure whole day events stay as whole day events by ignoring drop time
|
// Make sure whole day events stay as whole day events by ignoring drop time
|
||||||
if(event_data.app == 'calendar' && event_widget.options.value.whole_day)
|
if(event_data.app == 'calendar' && event_widget.options.value.whole_day)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user