diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-13 15:11:49 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-10-13 16:11:49 +0300 |
commit | f42e0cc6f2c8623d3acb0033222cd6360e5f521a (patch) | |
tree | 264dd788ca94754373c50b1d41fb9536b55ab757 /compatibility-client | |
parent | e651d542cbef31cfc09786e1978e33915cb68a27 (diff) | |
download | vaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.tar.gz vaadin-framework-f42e0cc6f2c8623d3acb0033222cd6360e5f521a.zip |
Fix some checkstyle warnings (#10179)
Diffstat (limited to 'compatibility-client')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java index 18e1361352..15037d4b50 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java @@ -88,7 +88,7 @@ public class TextFieldConnector extends AbstractFieldConnector * side value). <input> is updated only when it looses focus, so we * force updating if not focused. Lost focus issue appeared in (#15144) */ - if (!(Util.getFocusedElement() == getWidget().getElement()) + if (Util.getFocusedElement() != getWidget().getElement() || !uidl.getBooleanAttribute( TextFieldConstants.ATTR_NO_VALUE_CHANGE_BETWEEN_PAINTS) || getWidget().valueBeforeEdit == null |