]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed issue with other stylenames being overwritten when applying primary stylename... 12/112/1
authorJohn Ahlroos <john@vaadin.com>
Thu, 11 Oct 2012 08:21:05 +0000 (11:21 +0300)
committerJohn Ahlroos <john@vaadin.com>
Thu, 11 Oct 2012 08:21:05 +0000 (11:21 +0300)
Change-Id: I782422c09815b2d7513e0d83a90a5cc2f0228561

client/src/com/vaadin/client/ui/accordion/VAccordion.java

index 0fbbcf5780fcf3a779ebd5b1a0308d7e6136c6e7..ce973f96300ef9011b3472344e237a9294b0549b 100644 (file)
@@ -89,16 +89,17 @@ public class VAccordion extends VTabsheetBase {
 
     @Override
     public void setStylePrimaryName(String style) {
+        super.setStylePrimaryName(style);
         updateStyleNames(style);
     }
 
     @Override
     public void setStyleName(String style) {
+        super.setStyleName(style);
         updateStyleNames(style);
     }
 
     protected void updateStyleNames(String primaryStyleName) {
-        super.setStyleName(primaryStyleName);
         for (Widget w : getChildren()) {
             if (w instanceof StackItem) {
                 StackItem item = (StackItem) w;