diff options
Diffstat (limited to 'compatibility-client')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java index 8e22672641..12d76bec9f 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTree.java @@ -825,7 +825,7 @@ public class VTree extends FocusElementPanel */ public boolean isCaptionElement( com.google.gwt.dom.client.Element target) { - return (target == nodeCaptionSpan + return (nodeCaptionSpan.isOrHasChild(target) || (icon != null && target == icon.getElement())); } |