From 54ed43adad5b853dfffdc48aebbc74087e34b735 Mon Sep 17 00:00:00 2001 From: Mika Murtojarvi Date: Mon, 27 Oct 2014 17:44:16 +0200 Subject: Fix a regression in VMenuBar.getSubpartElement (#14879). A change done in an earlier patch set (https://dev.vaadin.com/review/#/c/5283/) caused a test failure with Internet Explorer 8. Change-Id: I8159135ab7ec4b73682e90daf393b879bf587930 --- client/src/com/vaadin/client/ui/VMenuBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/ui/VMenuBar.java b/client/src/com/vaadin/client/ui/VMenuBar.java index 9948940717..5102e6faea 100644 --- a/client/src/com/vaadin/client/ui/VMenuBar.java +++ b/client/src/com/vaadin/client/ui/VMenuBar.java @@ -1583,7 +1583,7 @@ public class VMenuBar extends SimpleFocusablePanel implements /*-{ var n = element.childNodes.length; if(n > 0){ - return element.childNodes[n - 1].textContent; + return element.childNodes[n - 1].nodeValue; } else{ return ""; -- cgit v1.2.3