diff options
author | Jonatan Kronqvist <jonatan@vaadin.com> | 2013-09-20 15:32:12 +0300 |
---|---|---|
committer | Jonatan Kronqvist <jonatan@vaadin.com> | 2013-09-20 15:32:12 +0300 |
commit | c7aaa0413f63d938791e760b23fb3f609f285aa0 (patch) | |
tree | 34f67ee36f010a11619d1361153608fff960405a /client | |
parent | d9f204fda6b56429b6dfe2dda0b79203ff2ef99e (diff) | |
download | vaadin-framework-c7aaa0413f63d938791e760b23fb3f609f285aa0.tar.gz vaadin-framework-c7aaa0413f63d938791e760b23fb3f609f285aa0.zip |
Don't try to cast a connector to Widget. Fixes #12619
Change-Id: I0fe98ca90ed3969f1af1be60668b4c1c561675eb
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/dd/VTargetInSubtree.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/dd/VTargetInSubtree.java b/client/src/com/vaadin/client/ui/dd/VTargetInSubtree.java index e9061114aa..c3f56b410d 100644 --- a/client/src/com/vaadin/client/ui/dd/VTargetInSubtree.java +++ b/client/src/com/vaadin/client/ui/dd/VTargetInSubtree.java @@ -32,7 +32,7 @@ final public class VTargetInSubtree extends VAcceptCriterion { protected boolean accept(VDragEvent drag, UIDL configuration) { VTree tree = (VTree) VDragAndDropManager.get().getCurrentDropHandler() - .getConnector(); + .getConnector().getWidget(); TreeNode treeNode = tree.getNodeByKey((String) drag.getDropDetails() .get("itemIdOver")); if (treeNode != null) { @@ -53,4 +53,4 @@ final public class VTargetInSubtree extends VAcceptCriterion { return false; } -}
\ No newline at end of file +} |