diff options
author | Denis Anisimov <denis@vaadin.com> | 2014-03-28 22:03:55 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-03-31 19:19:09 +0000 |
commit | d0bc54ba4b487fe461cc950de02ec57187c654ad (patch) | |
tree | 7e8ca5b152907cc625307b1bb604f6496748f025 /client | |
parent | 7a47febb2fdb03a743cca60409426ff70cc463a2 (diff) | |
download | vaadin-framework-d0bc54ba4b487fe461cc950de02ec57187c654ad.tar.gz vaadin-framework-d0bc54ba4b487fe461cc950de02ec57187c654ad.zip |
Prevent popup open when datafield is disabled (#13508).
Change-Id: I5bb3ec24ad15d832a43998a4cee49a61ae81562e
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VPopupCalendar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VPopupCalendar.java b/client/src/com/vaadin/client/ui/VPopupCalendar.java index d2c9b7160c..e2ad40c929 100644 --- a/client/src/com/vaadin/client/ui/VPopupCalendar.java +++ b/client/src/com/vaadin/client/ui/VPopupCalendar.java @@ -329,7 +329,7 @@ public class VPopupCalendar extends VTextualDate implements Field, */ public void openCalendarPanel() { - if (!open && !readonly) { + if (!open && !readonly && isEnabled()) { open = true; if (getCurrentDate() != null) { |