aboutsummaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-01-16 12:10:25 +0000
committerArtur Signell <artur.signell@itmill.com>2012-01-16 12:10:25 +0000
commit369635cb8912f9b0ee52471f0a6f95cc0705ea8d (patch)
tree1602975085c132926eef52a721deed9092331889 /src/com
parent988107060ad42f274d5e9f7c24b43ce6d33eb5c7 (diff)
downloadvaadin-framework-369635cb8912f9b0ee52471f0a6f95cc0705ea8d.tar.gz
vaadin-framework-369635cb8912f9b0ee52471f0a6f95cc0705ea8d.zip
#5982 Add the "v-disabled" class name as-is also in addition to prefixed to make generic v-disabled rules work
svn changeset:22640/svn branch:6.7
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java
index 5f2884391f..174e66b7aa 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java
@@ -327,7 +327,8 @@ public class VFormLayout extends SimplePanel implements Container {
}
private void setStyles(String[] styles) {
- String style = CLASSNAME;
+ String styleName = CLASSNAME;
+
if (styles != null) {
for (String style : styles) {
if (ApplicationConnection.DISABLED_CLASSNAME.equals(style)) {
@@ -339,7 +340,8 @@ public class VFormLayout extends SimplePanel implements Container {
styleName += " " + CLASSNAME + "-" + style;
}
}
- setStyleName(style);
+
+ setStyleName(styleName);
}
public void updateCaption(UIDL uidl) {