From 0fda61f1f04fe76e6986cc3b3b51a3ba087ce271 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 ad1a0e88c8..9bff6ea8ed 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -1449,13 +1449,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();}