|
|
@@ -353,6 +353,7 @@ Grid.mixin({
|
|
|
subjectEl: el,
|
|
|
subjectCenter: true,
|
|
|
interactionStart: function(ev) {
|
|
|
+ seg.component = _this; // for renderDrag
|
|
|
isDragging = false;
|
|
|
mouseFollower = new MouseFollower(seg.el, {
|
|
|
additionalClass: 'fc-dragging',
|
|
|
@@ -421,6 +422,8 @@ Grid.mixin({
|
|
|
enableCursor();
|
|
|
},
|
|
|
interactionEnd: function(ev) {
|
|
|
+ delete seg.component; // prevent side effects
|
|
|
+
|
|
|
// do revert animation if hasn't changed. calls a callback when finished (whether animation or not)
|
|
|
mouseFollower.stop(!dropLocation, function() {
|
|
|
if (isDragging) {
|