Initial drag'n'drop support in Calendar module

TODO:
- drag'n'drop in month's view;
- drag to create an all-day event;
- drag'n'drop to a calendar in the sidenav;
- touchscreen gestures support.
This commit is contained in:
Francis Lachapelle committed 2015-11-06 15:15:37 -05:00
1 parent fc16d6ad90
commit 2e02380a93
18 files changed
+1187 -108

No files matched your search

@@ -5,7 +5,7 @@
/*
* sgCalendarDayTable - Build list of blocks for a specific day
* @memberof SOGo.Common
* @memberof SOGo.SchedulerUI
* @restrict element
* @param {object} sgBlocks - the events blocks definitions for the current view
* @param {string} sgDay - the day of the events to display
@@ -29,7 +29,7 @@
clickBlock: '&sgClick'
},
template: [
'<sg-calendar-day-block class="sg-event draggable"',
'<sg-calendar-day-block',
' ng-repeat="block in blocks[day]"',
' sg-block="block"',
' sg-click="clickBlock({event: clickEvent, component: clickComponent})"/>'