mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix the bugfix (b799dda8c7
) so planner view doesn't throw errors
This commit is contained in:
parent
41bcceb44e
commit
47674a96b5
@ -958,7 +958,7 @@ et2_calendar_event.owner_check = function owner_check(event, parent, owner_too)
|
|||||||
{
|
{
|
||||||
options = parent.getArrayMgr("sel_options").getRoot().getEntry('owner');
|
options = parent.getArrayMgr("sel_options").getRoot().getEntry('owner');
|
||||||
}
|
}
|
||||||
if(event.participants && parent.options.owner.length > 0)
|
if(event.participants && typeof parent.options.owner != 'undefined' && parent.options.owner.length > 0)
|
||||||
{
|
{
|
||||||
var parent_owner = jQuery.extend([], typeof parent.options.owner !== 'object' ?
|
var parent_owner = jQuery.extend([], typeof parent.options.owner !== 'object' ?
|
||||||
[parent.options.owner] :
|
[parent.options.owner] :
|
||||||
|
Loading…
Reference in New Issue
Block a user