diff options
author | Marc Englund <marc@vaadin.com> | 2013-08-28 15:47:02 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2013-09-03 11:09:17 +0300 |
commit | de53191998be79268b78e6589173ed71171d9185 (patch) | |
tree | a27239399eb14643f7a3047ad102efedf0f07a66 | |
parent | 11cdf93fedc9e693468d25092afba8172ce8ebf0 (diff) | |
download | vaadin-framework-de53191998be79268b78e6589173ed71171d9185.tar.gz vaadin-framework-de53191998be79268b78e6589173ed71171d9185.zip |
Fix for #12279 (caret jumps when formatting in RTA).
Change-Id: I09bd04cd0d687be636a7b4d718bccf271bdb9dd9
-rw-r--r-- | client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java b/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java index 20dfc74c69..d2576eb133 100644 --- a/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java +++ b/client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java @@ -104,9 +104,9 @@ public class RichTextAreaConnector extends AbstractFieldConnector implements if (getConnection() != null && getConnectorId() != null) { final String html = getWidget().getSanitizedValue(); if (!html.equals(cachedValue)) { + cachedValue = html; getConnection().updateVariable(getConnectorId(), "text", html, getState().immediate); - getWidget().setValue(html); } } }; |