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

This commit is contained in:
Francis Lachapelle
2015-11-20 15:36:24 -05:00
parent 90e79e7605
commit 3baef22df4
5 changed files with 30 additions and 18 deletions

View File

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