diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2015-01-30 17:46:07 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-02-19 14:36:52 +0200 |
commit | c4f36c2a35b9bc2db7b1da15d91edab6d6d68a9e (patch) | |
tree | 1950bdeae335f241fbda7ab9251030a5faed861f /server/src | |
parent | ba163b261c4791c6648d6c31841ec892a0246e8b (diff) | |
download | vaadin-framework-c4f36c2a35b9bc2db7b1da15d91edab6d6d68a9e.tar.gz vaadin-framework-c4f36c2a35b9bc2db7b1da15d91edab6d6d68a9e.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/src')
-rw-r--r-- | server/src/com/vaadin/ui/Calendar.java | 6 |
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) { |