diff options
author | michaelvogt <michael@vaadin.com> | 2013-04-04 23:01:47 +0300 |
---|---|---|
committer | michaelvogt <michael@vaadin.com> | 2013-04-05 16:42:22 +0300 |
commit | fc2e1dfa9e39944c1008d0572ba7cb7c639109bb (patch) | |
tree | 9d0a59d291ad2bd71fa415ca57a7b3a9530e2441 /client | |
parent | afd707b6a019a7a6bc4ab91657bd07411642bfa4 (diff) | |
download | vaadin-framework-fc2e1dfa9e39944c1008d0572ba7cb7c639109bb.tar.gz vaadin-framework-fc2e1dfa9e39944c1008d0572ba7cb7c639109bb.zip |
Fixed compilation error
Change-Id: Iec392464f23846c2631be8d1f150292e678861f0
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/AriaHelper.java | 5 | ||||
-rw-r--r-- | client/src/com/vaadin/client/ui/VTree.java | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/AriaHelper.java b/client/src/com/vaadin/client/ui/AriaHelper.java index 9f7210f86c..450b25c8da 100644 --- a/client/src/com/vaadin/client/ui/AriaHelper.java +++ b/client/src/com/vaadin/client/ui/AriaHelper.java @@ -63,12 +63,13 @@ public class AriaHelper { } /** - * Removes a binding to a caption from the provided Widget. + * Removes a binding to a caption added with bindCaption() from the provided + * Widget. * * @param widget * Widget, that was bound to a caption before */ - public static void clearCaption(Widget widget) { + private static void clearCaption(Widget widget) { Roles.getTextboxRole() .removeAriaLabelledbyProperty(widget.getElement()); } diff --git a/client/src/com/vaadin/client/ui/VTree.java b/client/src/com/vaadin/client/ui/VTree.java index 20b3050a5d..9ad8e5be7c 100644 --- a/client/src/com/vaadin/client/ui/VTree.java +++ b/client/src/com/vaadin/client/ui/VTree.java @@ -2215,7 +2215,7 @@ public class VTree extends FocusElementPanel implements VHasDropHandler, @Override public void clearAriaCaption() { - AriaHelper.clearCaption(body); + AriaHelper.bindCaption(body, null); } } |