mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-28 20:56:24 +00:00
(js) Set summary when creating event from DnD
This commit is contained in:
@@ -151,6 +151,7 @@
|
||||
|
||||
if (component.isNew) {
|
||||
coordinates = pointerHandler.currentEventCoordinates;
|
||||
component.summary = '';
|
||||
if (component.isAllDay)
|
||||
coordinates.duration -= 96;
|
||||
component.setDelta(coordinates.duration * 15);
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
newData = {
|
||||
type: 'appointment',
|
||||
pid: calendarData? calendarData.pid : Calendar.$defaultCalendar(),
|
||||
//summary: l('New Event'),
|
||||
summary: l('New Event'),
|
||||
startDate: startDate,
|
||||
isAllDay: isHourCell? 0 : 1
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user