]> source.dussan.org Git - vaadin-framework.git/commit
Fix DragAndDropWrapper update after file upload (#19616)
authormaxschuster <dev@maxschuster.eu>
Sun, 21 Feb 2016 23:10:21 +0000 (00:10 +0100)
committerVaadin Code Review <review@vaadin.com>
Tue, 1 Mar 2016 13:16:02 +0000 (13:16 +0000)
commit81aadbb9edeb4a57dd02c35937905e5427a674e0
tree179ad1ef914d85ac90875911f915370a59032de1
parentb7cb84e5b1165a913b054afa0f8bdc369cd2c031
Fix DragAndDropWrapper update after file upload (#19616)

After a file has been uploaded VDragAndDropWrapper tries to pull changes
from the server by calling
ApplicationConnection.sendPendingVariableChanges() which has no effect.

This change replaces the
ApplicationConnection.sendPendingVariableChanges() call with an RPC.

Change-Id: Ibdf7f4d702add9507dbe54c1fdb402f0f4b19d19
client/src/com/vaadin/client/ui/VDragAndDropWrapper.java
client/src/com/vaadin/client/ui/draganddropwrapper/DragAndDropWrapperConnector.java
server/src/com/vaadin/ui/DragAndDropWrapper.java
shared/src/com/vaadin/shared/ui/draganddropwrapper/DragAndDropWrapperServerRpc.java [new file with mode: 0644]