diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-04-15 14:09:56 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-04-15 13:50:32 +0000 |
commit | c6a7c81a57266988d04bdda4e454aa7c4bcc919e (patch) | |
tree | ef1c0cee78cd92f70de927507a770c886c0282ea /client | |
parent | cfbcaaf213ba2cc48e9af5ee56ab3f79ce24ce6b (diff) | |
download | vaadin-framework-c6a7c81a57266988d04bdda4e454aa7c4bcc919e.tar.gz vaadin-framework-c6a7c81a57266988d04bdda4e454aa7c4bcc919e.zip |
Remove redundant toggling of calendarToggle enabled state (#13124)
With the original changes for #13124 in how calendarToggle is enabled
and disabled, the toggling performed by the connector is no longer
needed and can be removed.
Change-Id: I74fc1c5b2b8768f42f344478c5dad24eef11d8e6
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java b/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java index d2aadca99b..ab40c77704 100644 --- a/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java +++ b/client/src/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java @@ -103,8 +103,6 @@ public class PopupDateFieldConnector extends TextualDateConnector { getWidget().calendar.renderCalendar(); } - getWidget().calendarToggle.setEnabled(getWidget().isEnabled()); - if (getWidget().getCurrentResolution().getCalendarField() <= Resolution.MONTH .getCalendarField()) { getWidget().calendar @@ -161,7 +159,6 @@ public class PopupDateFieldConnector extends TextualDateConnector { getWidget().setDescriptionForAssistiveDevices( getState().descriptionForAssistiveDevices); - getWidget().calendarToggle.setEnabled(true); } @Override |