summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMika Murtojarvi <mika@vaadin.com>2014-10-27 17:44:16 +0200
committerVaadin Code Review <review@vaadin.com>2014-10-30 13:44:46 +0000
commit54ed43adad5b853dfffdc48aebbc74087e34b735 (patch)
tree0d3d8e85d19a371ab9eb5a1263ca6fafd2184a3b /client
parent7237b88645a27b157bc85d62292dc93faddd19f9 (diff)
downloadvaadin-framework-54ed43adad5b853dfffdc48aebbc74087e34b735.tar.gz
vaadin-framework-54ed43adad5b853dfffdc48aebbc74087e34b735.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 "";