mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +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.title)
|
||||||
.append(this.body);
|
.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
|
this.div
|
||||||
// Let timegrid always get the drag
|
// 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);
|
var action_links = this._get_action_links(actions);
|
||||||
action_links.push('egw_link_drag');
|
action_links.push('egw_link_drag');
|
||||||
action_links.push('egw_link_drop');
|
action_links.push('egw_link_drop');
|
||||||
|
if(this._actionObject.parent.getActionLink('invite'))
|
||||||
|
{
|
||||||
action_links.push('invite');
|
action_links.push('invite');
|
||||||
|
}
|
||||||
this._actionObject.updateActionLinks(action_links);
|
this._actionObject.updateActionLinks(action_links);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user