summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-11-14 13:19:44 +0000
committerVaadin Code Review <review@vaadin.com>2012-11-14 13:19:44 +0000
commit0e2a0f54aba0c0d5c1d5e496a50883a3ae0976f3 (patch)
tree6d9a438ced62270c21032732cdff0ab19b96fc24 /server
parent2374a69e98201b6c34d4b8ab981a66aba4b61b19 (diff)
parent9d30f9ce6640be87cdbd0756886b2d704a4970bc (diff)
downloadvaadin-framework-0e2a0f54aba0c0d5c1d5e496a50883a3ae0976f3.tar.gz
vaadin-framework-0e2a0f54aba0c0d5c1d5e496a50883a3ae0976f3.zip
Merge "UI stylename handling (#9832)"
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/BootstrapHandler.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/src/com/vaadin/server/BootstrapHandler.java b/server/src/com/vaadin/server/BootstrapHandler.java
index 15aaab313b..df0ace78db 100644
--- a/server/src/com/vaadin/server/BootstrapHandler.java
+++ b/server/src/com/vaadin/server/BootstrapHandler.java
@@ -317,16 +317,12 @@ public abstract class BootstrapHandler implements RequestHandler {
* .v-theme-<themeName, remove non-alphanum>
*/
- String appClass = "v-app-"
- + context.getSession().getClass().getSimpleName();
-
- String classNames = "v-app " + appClass;
List<Node> fragmentNodes = context.getBootstrapResponse()
.getFragmentNodes();
Element mainDiv = new Element(Tag.valueOf("div"), "");
mainDiv.attr("id", context.getAppId());
- mainDiv.addClass(classNames);
+ mainDiv.addClass("v-app");
if (style != null && style.length() != 0) {
mainDiv.attr("style", style);
}