Fix bug with DnD; leftPanelController.stopEvent()

pull/13/merge
Alexandre Cloutier 2014-07-22 11:37:45 -04:00
parent 192659fdd9
commit a43dd97fc9
1 changed files with 2 additions and 1 deletions

View File

@ -1392,7 +1392,8 @@ SOGoEventDragController.prototype = {
Event.stopObserving(document.body, "mousemove", this.onDragModeBound);
this.onDragStopBound = null;
this.onDragModeBound = null;
this.leftPanelController.stopEvent();
if (this.leftPanelController)
this.leftPanelController.stopEvent();
var utilities = SOGoEventDragUtilities();
if (this.dragHasStarted) {