aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMika Murtojarvi <mika@vaadin.com>2014-10-27 17:44:16 +0200
committerMarkus Koivisto <markus@vaadin.com>2014-11-03 09:46:44 +0200
commit953881a0420f43cbf1c9dd0c2edf854a70969275 (patch)
tree2d7dd3bfe7e34cb90fef34a61fc1c20265e9ccf1 /client
parent2f9fe0b5079510e0981f70071ca23449b66b244f (diff)
downloadvaadin-framework-953881a0420f43cbf1c9dd0c2edf854a70969275.tar.gz
vaadin-framework-953881a0420f43cbf1c9dd0c2edf854a70969275.zip
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
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VMenuBar.java2
1 files changed, 1 insertions, 1 deletions
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 "";