selection only with left click (issue 558)
This commit is contained in:
parent
1176a7479e
commit
fc18816aee
|
@ -647,7 +647,7 @@ function AgendaView(element, calendar, viewName) {
|
|||
|
||||
|
||||
function slotSelectionMousedown(ev) {
|
||||
if (opt('selectable')) {
|
||||
if (ev.which == 1 && opt('selectable')) { // ev.which==1 means left mouse button
|
||||
unselect(ev);
|
||||
var _mousedownElement = this;
|
||||
var dates;
|
||||
|
|
|
@ -68,7 +68,7 @@ function SelectionManager() {
|
|||
var cellDate = t.cellDate;
|
||||
var cellIsAllDay = t.cellIsAllDay;
|
||||
var hoverListener = t.getHoverListener();
|
||||
if (opt('selectable')) {
|
||||
if (ev.which == 1 && opt('selectable')) { // which==1 means left mouse button
|
||||
unselect(ev);
|
||||
var _mousedownElement = this;
|
||||
var dates;
|
||||
|
|
Loading…
Reference in a new issue