summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2015-01-30 17:46:07 +0200
committerVaadin Code Review <review@vaadin.com>2015-02-06 11:04:38 +0000
commit20ff39aab17bd04c6d7e94c355593fe53e70ce88 (patch)
tree0494287d9f3a061bdfb4921b8ea96268043d87be /server
parentca435cd30b6bdf1a24636e37c10a43545804991f (diff)
downloadvaadin-framework-20ff39aab17bd04c6d7e94c355593fe53e70ce88.tar.gz
vaadin-framework-20ff39aab17bd04c6d7e94c355593fe53e70ce88.zip
Enable navigation on a readonly Calendar. (#16523)
- Month view: navigate to week and day views - Week view: navigate to day view and to next and prev weeks - Day view: navigate to next and prev days - Month view: hidden events can be expanded to view. Change-Id: I19c64ae64c55b8e07be7f73be64e18e700f849b5
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Calendar.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/src/com/vaadin/ui/Calendar.java b/server/src/com/vaadin/ui/Calendar.java
index e90d80072f..48c024026e 100644
--- a/server/src/com/vaadin/ui/Calendar.java
+++ b/server/src/com/vaadin/ui/Calendar.java
@@ -1775,9 +1775,6 @@ public class Calendar extends AbstractComponent implements
@Override
public void dateClick(String date) {
- if (!isClientChangeAllowed()) {
- return;
- }
if (date != null && date.length() > 6) {
try {
Date d = df_date.parse(date);
@@ -1789,9 +1786,6 @@ public class Calendar extends AbstractComponent implements
@Override
public void weekClick(String event) {
- if (!isClientChangeAllowed()) {
- return;
- }
if (event.length() > 0 && event.contains("w")) {
String[] splitted = event.split("w");
if (splitted.length == 2) {