mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix 'Cannot read property...' error when adding an event via context menu
This commit is contained in:
parent
aa0026f0ae
commit
18bd10bf66
@ -232,7 +232,7 @@ app.classes.addressbook = AppJS.extend(
|
||||
ids += "c" + id[1] + ((i < _senders.length - 1) ? "," : "");
|
||||
}
|
||||
var extra = {};
|
||||
extra[_action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
||||
extra[_action.data && _action.data.url && _action.data.url.indexOf('owner') > 0 ? 'owner' : 'participants'] = ids;
|
||||
|
||||
// Use framework to add calendar entry
|
||||
egw.open('','calendar','add',extra);
|
||||
|
Loading…
Reference in New Issue
Block a user