(js) Create event by dragging in month's view

This commit is contained in:
Francis Lachapelle committed 2015-11-20 15:36:24 -05:00
1 parent 90e79e7605
commit 3baef22df4
5 files changed
+30 -18

No files matched your search

@@ -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() {