From f9bffedb2d38060ce9f935f346850e4784e846c8 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 6 Jun 2013 23:46:34 +0300 Subject: Fix for NPE in debug window in IE (#12015) Change-Id: I74fb57d60f1cdaf85aaacff36093f9f3d640d538 --- client/src/com/vaadin/client/debug/internal/LogSection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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); } -- cgit v1.2.3