From: Matti Tahvonen Date: Thu, 18 Dec 2008 14:28:33 +0000 (+0000) Subject: bug fix: client side analysis is printed now done even though no server side issues... X-Git-Tag: 6.7.0.beta1~3498 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dfa09ab958c3b2d762abaa150b593d478e04278d;p=vaadin-framework.git bug fix: client side analysis is printed now done even though no server side issues found svn changeset:6284/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java index b3070bef74..cbef60c819 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java @@ -366,23 +366,22 @@ public final class IDebugConsole extends IToolkitOverlay implements Console { panel.add(tree); tree.addItem(root); - if (zeroHeightComponents.size() > 0 - || zeroWidthComponents.size() > 0) { - panel.add(new HTML("

Client side notifications

" - + " Following relative sized components where " - + "rendered to zero size container on client side." - + " Note that these are not necessary invalid " - + "states. Just reported here as they might be.")); - if (zeroHeightComponents.size() > 0) { - panel.add(new HTML( - "

Vertically zero size:

")); - printClientSideDetectedIssues(zeroHeightComponents, ac); - } - if (zeroWidthComponents.size() > 0) { - panel.add(new HTML( - "

Horizontally zero size:

")); - printClientSideDetectedIssues(zeroWidthComponents, ac); - } + } + if (zeroHeightComponents.size() > 0 || zeroWidthComponents.size() > 0) { + panel.add(new HTML("

Client side notifications

" + + " Following relative sized components where " + + "rendered to zero size container on client side." + + " Note that these are not necessary invalid " + + "states. Just reported here as they might be.")); + if (zeroHeightComponents.size() > 0) { + panel.add(new HTML( + "

Vertically zero size:

")); + printClientSideDetectedIssues(zeroHeightComponents, ac); + } + if (zeroWidthComponents.size() > 0) { + panel.add(new HTML( + "

Horizontally zero size:

")); + printClientSideDetectedIssues(zeroWidthComponents, ac); } } log("************************");