From e3680c9588c5beedaebd1064a721d25c1daffd00 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 20 Jul 2016 13:34:57 -0600 Subject: [PATCH] Fix drag & drop to invite for user IDs with more than 1 character --- calendar/js/et2_widget_planner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/js/et2_widget_planner.js b/calendar/js/et2_widget_planner.js index eee4fe0834..f68027015a 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -1467,13 +1467,13 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e { return; } - var add_owner = jQuery.extend([],row.node.dataset.participants); + var add_owner = [row.node.dataset.participants]; egw().json('calendar.calendar_uiforms.ajax_invite', [ button_id==='series' ? event_data.id : event_data.app_id, add_owner, action.id === 'change_participant' ? - jQuery.extend([],source[i].iface.getWidget().getParent().node.dataset.participants) : + [source[i].iface.getWidget().getParent().node.dataset.participants] : [] ], function() { loading.remove();}