summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java b/client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java
index c56566bf25..b69d2a4fe7 100644
--- a/client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java
+++ b/client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java
@@ -244,7 +244,8 @@ public class DateCellDayEvent extends FocusableHTML implements
@Override
public void onMouseUp(MouseUpEvent event) {
- if (mouseMoveCanceled) {
+ if (mouseMoveCanceled
+ || event.getNativeButton() != NativeEvent.BUTTON_LEFT) {
return;
}