diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js index 91c33dd2..66ae9daf 100644 --- a/plugins/calendar/calendar_ui.js +++ b/plugins/calendar/calendar_ui.js @@ -1792,7 +1792,7 @@ function rcube_calendar_ui(settings) table: rcmail.gettext('agenda', 'calendar') }, selectable: true, - selectHelper: true, + selectHelper: false, loading: function(isLoading) { me.is_loading = isLoading; this._rc_loading = rcmail.set_busy(isLoading, 'loading', this._rc_loading); diff --git a/plugins/calendar/lib/js/fullcalendar.js b/plugins/calendar/lib/js/fullcalendar.js index 2b0c76ef..fe387c8b 100644 --- a/plugins/calendar/lib/js/fullcalendar.js +++ b/plugins/calendar/lib/js/fullcalendar.js @@ -3574,10 +3574,10 @@ function AgendaView(element, calendar, viewName) { function slotSelectionMousedown(ev) { if (ev.which == 1 && opt('selectable')) { // ev.which==1 means left mouse button unselect(ev); - var dates; + var dates, helperOption = opt('selectHelper'); hoverListener.start(function(cell, origCell) { clearSelection(); - if (cell && cell.col == origCell.col && !cellIsAllDay(cell)) { + if (cell && (cell.col == origCell.col || !helperOption) && !cellIsAllDay(cell)) { var d1 = cellDate(origCell); var d2 = cellDate(cell); dates = [