summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-06 23:46:34 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-07 06:38:20 +0000
commitf9bffedb2d38060ce9f935f346850e4784e846c8 (patch)
treef1471db25486b1f831373673a5732b3fb8824371 /client
parentbca14c0d095f63275cdbe46aca946673465c56d6 (diff)
downloadvaadin-framework-f9bffedb2d38060ce9f935f346850e4784e846c8.tar.gz
vaadin-framework-f9bffedb2d38060ce9f935f346850e4784e846c8.zip
Fix for NPE in debug window in IE (#12015)
Change-Id: I74fb57d60f1cdaf85aaacff36093f9f3d640d538
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/debug/internal/LogSection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/debug/internal/LogSection.java b/client/src/com/vaadin/client/debug/internal/LogSection.java
index 74ac3641c2..1e7524b56d 100644
--- a/client/src/com/vaadin/client/debug/internal/LogSection.java
+++ b/client/src/com/vaadin/client/debug/internal/LogSection.java
@@ -153,11 +153,11 @@ public class LogSection implements Section {
.as(event.getNativeEvent().getEventTarget());
while (!el.getClassName().contains(
VDebugWindow.STYLENAME + "-message")) {
- el = el.getParentElement();
if (el == contentElement) {
// clicked something else
return;
}
+ el = el.getParentElement();
}
selectText(el);
}