Calendar: Make sure owner is sent as an array for proper processing of default_participant preference

This commit is contained in:
nathangray 2019-09-23 09:46:30 -06:00
parent 5547a248c4
commit c93c1e6dfa

View File

@ -1793,7 +1793,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
// Some select things to pass on
var mgr = widget.getRoot().getArrayMgr('content');
var values = {
owner: mgr.getEntry('owner'),
owner: typeof mgr.getEntry('owner') == 'object' ? mgr.getEntry('owner') : (mgr.getEntry('owner')+'').split(','),
participants: [],
whole_day: mgr.getEntry('whole_day')
};