]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add v-datefield-day instead of prefixed for compatibility (#8664)
authorArtur Signell <artur@vaadin.com>
Fri, 29 Jun 2012 07:35:00 +0000 (10:35 +0300)
committerArtur Signell <artur@vaadin.com>
Fri, 29 Jun 2012 07:35:00 +0000 (10:35 +0300)
src/com/vaadin/terminal/gwt/client/ui/datefield/AbstractDateFieldConnector.java

index 72555214fa70491127144a45ca94049d5dc11e4f..f9d02d403bafdca786a373e901746a12e5446c92 100644 (file)
@@ -64,15 +64,21 @@ public class AbstractDateFieldConnector extends AbstractFieldConnector
         }
 
         // Remove old stylename that indicates current resolution
-        setWidgetStyleNameWithPrefix(VDateField.CLASSNAME,
-                VDateField.resolutionToString(getWidget().currentResolution),
+        setWidgetStyleName(
+                VDateField.CLASSNAME
+                        + "-"
+                        + VDateField
+                                .resolutionToString(getWidget().currentResolution),
                 false);
 
         getWidget().currentResolution = newResolution;
 
         // Add stylename that indicates current resolution
-        setWidgetStyleNameWithPrefix(VDateField.CLASSNAME,
-                VDateField.resolutionToString(getWidget().currentResolution),
+        setWidgetStyleName(
+                VDateField.CLASSNAME
+                        + "-"
+                        + VDateField
+                                .resolutionToString(getWidget().currentResolution),
                 true);
 
         final int year = uidl.getIntVariable("year");