mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
Avoid some action errors in planner view - invite is not implemented there
This commit is contained in:
parent
a5f560fa0a
commit
877d00b2ee
@ -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);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user