summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2008-12-18 14:28:33 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2008-12-18 14:28:33 +0000
commitdfa09ab958c3b2d762abaa150b593d478e04278d (patch)
treeeece67f1aef80aa2eb2bd33786521d55cadd168d /src
parent05f564ec22e0d715853d340ecef2909cf2227886 (diff)
downloadvaadin-framework-dfa09ab958c3b2d762abaa150b593d478e04278d.tar.gz
vaadin-framework-dfa09ab958c3b2d762abaa150b593d478e04278d.zip
bug fix: client side analysis is printed now done even though no server side issues found
svn changeset:6284/svn branch:trunk
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java33
1 files changed, 16 insertions, 17 deletions
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("<h4> Client side notifications</h4>"
- + " <em>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.</em>"));
- if (zeroHeightComponents.size() > 0) {
- panel.add(new HTML(
- "<p><strong>Vertically zero size:</strong><p>"));
- printClientSideDetectedIssues(zeroHeightComponents, ac);
- }
- if (zeroWidthComponents.size() > 0) {
- panel.add(new HTML(
- "<p><strong>Horizontally zero size:</strong><p>"));
- printClientSideDetectedIssues(zeroWidthComponents, ac);
- }
+ }
+ if (zeroHeightComponents.size() > 0 || zeroWidthComponents.size() > 0) {
+ panel.add(new HTML("<h4> Client side notifications</h4>"
+ + " <em>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.</em>"));
+ if (zeroHeightComponents.size() > 0) {
+ panel.add(new HTML(
+ "<p><strong>Vertically zero size:</strong><p>"));
+ printClientSideDetectedIssues(zeroHeightComponents, ac);
+ }
+ if (zeroWidthComponents.size() > 0) {
+ panel.add(new HTML(
+ "<p><strong>Horizontally zero size:</strong><p>"));
+ printClientSideDetectedIssues(zeroWidthComponents, ac);
}
}
log("************************");