From e83ad2cf5a7f355fc7abd151476610d5be9bb6d9 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 23 Sep 2019 09:46:30 -0600 Subject: [PATCH] Calendar: Make sure owner is sent as an array for proper processing of default_participant preference --- calendar/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 20d650aeaa..cfb261f4e6 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -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') };