diff options
Diffstat (limited to 'compatibility-client')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java index bd0cab400a..a27f2c80cd 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java @@ -533,6 +533,11 @@ public class VCalendarPanel extends FocusableFlexTable implements public void setShowISOWeekNumbers(boolean showISOWeekNumbers) { this.showISOWeekNumbers = showISOWeekNumbers; + if (initialRenderDone && getResolution() + .getCalendarField() >= Resolution.DAY.getCalendarField()) { + clearCalendarBody(false); + buildCalendarBody(); + } } /** |