mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Fix 'Cannot read property...' error when adding an event via context menu
This commit is contained in:
parent
ee900fbafc
commit
90ec79834b
@ -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