]> source.dussan.org Git - vaadin-framework.git/commitdiff
bug fix: client side analysis is printed now done even though no server side issues...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Dec 2008 14:28:33 +0000 (14:28 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Dec 2008 14:28:33 +0000 (14:28 +0000)
svn changeset:6284/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java

index b3070bef74a2b457a0f1b27fb732ebc96473c35a..cbef60c81964b6266016508fd1d2984a07468249 100755 (executable)
@@ -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("************************");