]> source.dussan.org Git - vaadin-framework.git/commit
Fixed drag and drop failure when message dragged from email client (#20451)
authoradam <adam@vaadin.com>
Sat, 12 Nov 2016 13:25:52 +0000 (15:25 +0200)
committerVaadin Code Review <review@vaadin.com>
Wed, 16 Nov 2016 07:40:42 +0000 (07:40 +0000)
commit9d49d3f78059d440c9fd3f624982674bff8ae7cf
treed768e2a6fd44f03771a6084b834cd9cb85a8499d
parent1469891b6f0cb15bf9d684bdb35df8d9531c62f3
Fixed drag and drop failure when message dragged from email client (#20451)

When dragging message form email client on Windows, item.webkitGetAsEntry()
might return null creating NPE on the client side. Added additional checks
for this situation.

Change-Id: I569f7e6d0d7b137f24be53d1fbce384695ae8c73
client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java