Author: nathangray
New Revision: 55622
URL: http://svn.stylite.de/viewvc/egroupware?rev=55622&view=rev
Log:
Fix drag and drop across some months could change event to the wrong (± 1) month - now works with any date format
Modified:
trunk/calendar/js/et2_widget_timegrid.js
— trunk/calendar/js/et2_widget_timegrid.js (original)
+++ trunk/calendar/js/et2_widget_timegrid.js Tue Apr 5 00:06:01 2016
@@ -412,7 +412,11 @@
}
if(event_widget)
{
-
event_widget._parent.date_helper.set_value(drop_date.substring(0,4)+'-'+drop_date.substring(4,6)+'-'+drop_date.substring(6,8));
-
// Send full string to avoid rollover between months using set_month()
-
event_widget._parent.date_helper.set_value(
-
drop_date.substring(0,4)+'-'+drop_date.substring(4,6)+'-'+drop_date.substring(6,8)+
-
'T00:00:00Z'
-
);
// Make sure whole day events stay as whole day events by ignoring drop time
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs