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 b3a48cbbc9
commit e83ad2cf5a

View File

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