Browse Source

Merge "Fixed NPE (#10537)"

tags/7.0.0.rc1
Henri Sara 11 years ago
parent
commit
4d560bd978
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      client/src/com/vaadin/client/ui/VTextField.java

+ 1
- 1
client/src/com/vaadin/client/ui/VTextField.java View File

@@ -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);
}
}

Loading…
Cancel
Save