From 33d4ae14546ab72d1eafaedb36840395c0ca66f5 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Thu, 18 Sep 2008 06:53:47 +0000 Subject: [PATCH] cleaning svn changeset:5431/svn branch:trunk --- WebContent/ITMILL/themes/default/common/common.css | 1 - WebContent/ITMILL/themes/default/styles.css | 1 - .../terminal/gwt/client/ApplicationConnection.java | 9 +++++---- 3 files changed, 5 insertions(+), 6 deletions(-) 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() { -- 2.39.5