From: Matti Tahvonen Date: Thu, 18 Sep 2008 06:53:47 +0000 (+0000) Subject: cleaning X-Git-Tag: 6.7.0.beta1~4138 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=33d4ae14546ab72d1eafaedb36840395c0ca66f5;p=vaadin-framework.git cleaning svn changeset:5431/svn branch:trunk --- diff --git a/WebContent/ITMILL/themes/default/common/common.css b/WebContent/ITMILL/themes/default/common/common.css index bc633c73ed..e801702c0a 100644 --- a/WebContent/ITMILL/themes/default/common/common.css +++ b/WebContent/ITMILL/themes/default/common/common.css @@ -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 { diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index e4a810818e..a5d49f4800 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -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 { diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java index 96fbf4a919..4de30f7f32 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java @@ -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() {