diff options
author | Henri Sara <hesara@vaadin.com> | 2014-06-30 14:25:53 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2014-06-30 14:31:19 +0300 |
commit | 5a07aa0c35f600d8823122f47f2feb6edac390ad (patch) | |
tree | 0550dfde6f858b558300665e4d9a2821fd79f737 /server/src/com/vaadin/ui/PopupDateField.java | |
parent | b7609b97b2ea5a45f72c22055d76d985e1611dcd (diff) | |
parent | 31800c977efcb024f197ae5d8f39265050fd9777 (diff) | |
download | vaadin-framework-5a07aa0c35f600d8823122f47f2feb6edac390ad.tar.gz vaadin-framework-5a07aa0c35f600d8823122f47f2feb6edac390ad.zip |
Merge branch 'master' into 7.3 and update release notes (#14105)
Change-Id: I0c7f4ac1528dda9d1ebde724854bab84092e0c10
Diffstat (limited to 'server/src/com/vaadin/ui/PopupDateField.java')
-rw-r--r-- | server/src/com/vaadin/ui/PopupDateField.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/PopupDateField.java b/server/src/com/vaadin/ui/PopupDateField.java index 61aac16a97..f07ac84160 100644 --- a/server/src/com/vaadin/ui/PopupDateField.java +++ b/server/src/com/vaadin/ui/PopupDateField.java @@ -93,6 +93,11 @@ public class PopupDateField extends DateField { return (PopupDateFieldState) super.getState(); } + @Override + protected PopupDateFieldState getState(boolean markAsDirty) { + return (PopupDateFieldState) super.getState(markAsDirty); + } + /** * Checks whether the text field is enabled (default) or not. * @@ -101,7 +106,7 @@ public class PopupDateField extends DateField { * @return <b>true</b> if the text field is enabled, <b>false</b> otherwise. */ public boolean isTextFieldEnabled() { - return getState().textFieldEnabled; + return getState(false).textFieldEnabled; } /** @@ -136,6 +141,6 @@ public class PopupDateField extends DateField { * @return String with the description */ public String getAssistiveText() { - return getState().descriptionForAssistiveDevices; + return getState(false).descriptionForAssistiveDevices; } } |