]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed unnecessary code that was in attach just to work around known bugs (now fixed)
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 2 Feb 2007 19:25:34 +0000 (19:25 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 2 Feb 2007 19:25:34 +0000 (19:25 +0000)
svn changeset:430/svn branch:toolkit

src/com/itmill/toolkit/ui/Select.java

index dc8a41e7cc89b29454d78a29a3c49c1b0ce91979..49508753cac03a2bb74810c7cbd0cf2421bd3a73 100644 (file)
@@ -261,6 +261,7 @@ public class Select extends AbstractField implements Container,
                
                // Paint options and create array of selected id keys
                target.startTag("options");
+               // TODO Also use conventional rendering if lazy loading is not supported by terminal
                if (!isLazyLoading()) {
                        int keyIndex = 0;
 
@@ -1353,10 +1354,8 @@ public class Select extends AbstractField implements Container,
         */
        public void attach() {
                super.attach();
-               if (optionsStream != null) {
-                       getWindow().removeURIHandler(optionsStream);
+               if (optionsStream != null) 
                        getWindow().addURIHandler(optionsStream);
-               }
        }
 
        /**