diff options
author | Patrik Lindström <patrik@vaadin.com> | 2013-07-30 14:10:01 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-07-30 12:50:29 +0000 |
commit | 5d571299656176bf27699010851ded45894945e0 (patch) | |
tree | c47a65e64b82fd59481bdd2bd853236cadfb07f2 /client | |
parent | 59a043b3b06f516c59c07577c9416a69b6962bfe (diff) | |
download | vaadin-framework-5d571299656176bf27699010851ded45894945e0.tar.gz vaadin-framework-5d571299656176bf27699010851ded45894945e0.zip |
Fix calendar click events on context menu #12297
Change-Id: Ifb66253ef05677d80d2f1e8bb935e5e4789308de
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/calendar/schedule/DateCellDayEvent.java | 3 |
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; } |