mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 10:48:50 +00:00
(js) Create event by dragging in month's view
This commit is contained in:
@@ -154,6 +154,8 @@
|
||||
|
||||
if (component.isNew) {
|
||||
coordinates = pointerHandler.currentEventCoordinates;
|
||||
if (component.isAllDay)
|
||||
coordinates.duration -= 96;
|
||||
component.setDelta(coordinates.duration * 15);
|
||||
newComponent(null, component).finally(function() {
|
||||
$timeout(function() {
|
||||
|
||||
Reference in New Issue
Block a user