From f42e0cc6f2c8623d3acb0033222cd6360e5f521a Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Fri, 13 Oct 2017 15:11:49 +0200 Subject: Fix some checkstyle warnings (#10179) --- .../main/java/com/vaadin/v7/client/ui/textfield/TextFieldConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compatibility-client/src/main/java') 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). 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 -- cgit v1.2.3