From fea6978b63e86626086404d6cdbe3ad5e3bef29c Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 4 Aug 2016 14:25:29 -0400 Subject: [PATCH] (js) Don't allow drag'n'drop of invitations --- NEWS | 1 + .../js/Scheduler/sgDraggableCalendarBlock.directive.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d996f21ae..4db91bc13 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,7 @@ Bug fixes - [web] fixed avatar image in autocompletion - [web] restored expunge of current mailbox when leaving the Mail module - [web] added support for multiple description values in LDAP entries (#3750) + - [web] don't allow drag'n'drop of invitations - [eas] fixed long GUID issue preventing sometimes synchronisation (#3460) - [core] fixing sogo-tool backup with multi-domain configuration but domain-less logins - [core] during event scheduling, use 409 instead of 403 so Lightning doesn't fail silently diff --git a/UI/WebServerResources/js/Scheduler/sgDraggableCalendarBlock.directive.js b/UI/WebServerResources/js/Scheduler/sgDraggableCalendarBlock.directive.js index 69423a1d5..3a6579832 100644 --- a/UI/WebServerResources/js/Scheduler/sgDraggableCalendarBlock.directive.js +++ b/UI/WebServerResources/js/Scheduler/sgDraggableCalendarBlock.directive.js @@ -22,7 +22,7 @@ function link(scope, element, attrs, calendarDayCtrl) { if (scope.block) { - if (scope.block.component.editable) { + if (scope.block.component.editable && !scope.block.userState) { // Add dragging grips to existing event block initGrips(); }