summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-25 22:40:48 +0300
committerArtur Signell <artur@vaadin.com>2013-06-26 10:49:42 +0300
commita0b4d992e2f7d7a662d1b8aeb098bc40238090d6 (patch)
tree45e2691ace21c2ba69f03b8b04968aad5ceb8b0a /server
parentc5a770b00e403921e670dcd789f7e53cc9bf85a9 (diff)
downloadvaadin-framework-a0b4d992e2f7d7a662d1b8aeb098bc40238090d6.tar.gz
vaadin-framework-a0b4d992e2f7d7a662d1b8aeb098bc40238090d6.zip
Actually show loading indicator during loading (#12128)
* Add theme name already during bootstrap Change-Id: I78da3029b818ced51714d385cd77f5ba9bfce625
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/BootstrapHandler.java1
1 files changed, 1 insertions, 0 deletions
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);
}