From 172d704fe372885e81cc83fe768281e40decfb3a Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 25 Jun 2013 22:40:48 +0300 Subject: Actually show loading indicator during loading (#12128) * Add theme name already during bootstrap Change-Id: I78da3029b818ced51714d385cd77f5ba9bfce625 --- server/src/com/vaadin/server/BootstrapHandler.java | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/com/vaadin') diff --git a/server/src/com/vaadin/server/BootstrapHandler.java b/server/src/com/vaadin/server/BootstrapHandler.java index dddfb385a6..b21fdb0b74 100644 --- a/server/src/com/vaadin/server/BootstrapHandler.java +++ b/server/src/com/vaadin/server/BootstrapHandler.java @@ -363,6 +363,7 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler { Element mainDiv = new Element(Tag.valueOf("div"), ""); mainDiv.attr("id", context.getAppId()); mainDiv.addClass("v-app"); + mainDiv.addClass(context.getThemeName()); if (style != null && style.length() != 0) { mainDiv.attr("style", style); } -- cgit v1.2.3