diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index eee5ce51d7..0038cc5062 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -273,7 +273,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten .append(this.title) .append(this.body); } - if(!this._parent.options.readonly && !this.options.readonly) + if(!this._parent.options.readonly && !this.options.readonly && this.div.droppable('instance')) { this.div // Let timegrid always get the drag @@ -866,7 +866,10 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten var action_links = this._get_action_links(actions); action_links.push('egw_link_drag'); action_links.push('egw_link_drop'); - action_links.push('invite'); + if(this._actionObject.parent.getActionLink('invite')) + { + action_links.push('invite'); + } this._actionObject.updateActionLinks(action_links); },