]> source.dussan.org Git - vaadin-framework.git/commit
Fixes current text being overwritten in server update on RTA #11741
authorJohn Ahlroos <john@vaadin.com>
Tue, 28 May 2013 09:39:20 +0000 (12:39 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 29 May 2013 09:21:33 +0000 (09:21 +0000)
commit35f353274f2132086f8ee0bb6e6e73712a59b173
tree647dcc5641735a78d60a501b4c597b4243b9cb25
parent7c613d107e8318799521a1243b5e480a0c21e2d9
Fixes current text being overwritten in server update on RTA #11741

If the server happens to update the state of the RTA while a user is
typing then the users text will be replaced by the value on the server. To fix
this the RTA should not update if the value is the same as the one
cached on the client side.

Also moves blur handling and server<->client syncronization to the
connector.

Change-Id: Ia807b1e2aa210eb881e4b9cea0870c0c5a9254b2
client/src/com/vaadin/client/ui/VPopupView.java
client/src/com/vaadin/client/ui/VRichTextArea.java
client/src/com/vaadin/client/ui/richtextarea/RichTextAreaConnector.java
uitest/src/com/vaadin/tests/components/richtextarea/RichTextAreaUpdateWhileTyping.html [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/richtextarea/RichTextAreaUpdateWhileTyping.java [new file with mode: 0644]