]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8723 Oops, call removeElement(), not addElement(), in removeTab()
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 11 May 2012 14:29:48 +0000 (14:29 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 11 May 2012 14:29:48 +0000 (14:29 +0000)
svn changeset:23720/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VAccordion.java

index 73d7eba2d620a079d945a45ab5a79e93aad19d12..1b089af9311ad68622bb5b79a584aec48a8e82eb 100644 (file)
@@ -648,8 +648,7 @@ public class VAccordion extends VTabsheetBase implements
     protected void removeTab(int index) {
         StackItem item = getStackItem(index);
         remove(item);
-
-        touchScrollHandler.addElement(item.getContainerElement());
+        touchScrollHandler.removeElement(item.getContainerElement());
     }
 
     @Override