]> source.dussan.org Git - vaadin-framework.git/commitdiff
cleaning
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Sep 2008 06:53:47 +0000 (06:53 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Sep 2008 06:53:47 +0000 (06:53 +0000)
svn changeset:5431/svn branch:trunk

WebContent/ITMILL/themes/default/common/common.css
WebContent/ITMILL/themes/default/styles.css
src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java

index bc633c73ed21cc3d3dc47c18cd266f0501549aac..e801702c0a2ceba45e3bef385c161f86da3361bb 100644 (file)
@@ -201,7 +201,6 @@ input.i-modified,
  * Note: client side expects that loading indicator has a height. It depends on
  * this css property to ensure browsers have applied all required styles.
  */
-
 .i-loading-indicator,
 .i-loading-indicator-delay,
 .i-loading-indicator-wait {
index e4a810818e101089417d0a8a9f001ac249e46e61..a5d49f480092c62626c7278b581c77beeb2c9d16 100644 (file)
@@ -331,7 +331,6 @@ input.i-modified,
  * Note: client side expects that loading indicator has a height. It depends on
  * this css property to ensure browsers have applied all required styles.
  */
-
 .i-loading-indicator,
 .i-loading-indicator-delay,
 .i-loading-indicator-wait {
index 96fbf4a919c829ff9500ded6bd5ad20bebb02de2..4de30f7f3206ec1b5308544a003081b0ef09753d 100755 (executable)
@@ -280,7 +280,8 @@ public class ApplicationConnection {
                     static final int MAX_CSS_WAITS = 20;
 
                     private void handleWhenCSSLoaded(final Response response) {
-                        int heightOfLoadElement = DOM.getElementPropertyInt(loadElement, "offsetHeight");
+                        int heightOfLoadElement = DOM.getElementPropertyInt(
+                                loadElement, "offsetHeight");
                         if (heightOfLoadElement == 0
                                 && cssWaits < MAX_CSS_WAITS) {
                             (new Timer() {
@@ -289,7 +290,9 @@ public class ApplicationConnection {
                                 }
                             }).schedule(50);
                             console
-                                    .log("Assuming CSS loading is not complete, postponing render phase. (.i-loading-indicator height == 0)");
+                                    .log("Assuming CSS loading is not complete, "
+                                            + "postponing render phase. "
+                                            + "(.i-loading-indicator height == 0)");
                             cssWaits++;
                         } else {
                             handleReceivedJSONMessage(response);
@@ -342,9 +345,7 @@ public class ApplicationConnection {
     }
 
     private void endRequest() {
-
         checkForPendingVariableBursts();
-
         activeRequests--;
         // deferring to avoid flickering
         DeferredCommand.addCommand(new Command() {