diff options
author | Henri Sara <hesara@vaadin.com> | 2013-01-08 09:04:16 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-01-08 09:04:16 +0000 |
commit | 4d560bd9789f1583f3d853abd419d0868df6e927 (patch) | |
tree | 73543af695ac10cc58bff06e48f0b6e726a80240 /client/src/com | |
parent | d833f915873f8c3bec9ebbc31ba23b07c611c0a9 (diff) | |
parent | ce5f8b13d543e70ea79af5af45acf4a9da8269a0 (diff) | |
download | vaadin-framework-4d560bd9789f1583f3d853abd419d0868df6e927.tar.gz vaadin-framework-4d560bd9789f1583f3d853abd419d0868df6e927.zip |
Merge "Fixed NPE (#10537)"
Diffstat (limited to 'client/src/com')
-rw-r--r-- | client/src/com/vaadin/client/ui/VTextField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VTextField.java b/client/src/com/vaadin/client/ui/VTextField.java index 0123a4b4f2..1229eda093 100644 --- a/client/src/com/vaadin/client/ui/VTextField.java +++ b/client/src/com/vaadin/client/ui/VTextField.java @@ -398,7 +398,7 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler, setPrompting(false); } focusedTextField = this; - if (client.hasEventListeners(this, EventId.FOCUS)) { + if (client != null && client.hasEventListeners(this, EventId.FOCUS)) { client.updateVariable(paintableId, EventId.FOCUS, "", true); } } |