]> source.dussan.org Git - vaadin-framework.git/commitdiff
Make icons again include alt text (#13152)
authorArtur Signell <artur@vaadin.com>
Wed, 19 Mar 2014 14:26:03 +0000 (16:26 +0200)
committerVaadin Code Review <review@vaadin.com>
Wed, 19 Mar 2014 18:16:54 +0000 (18:16 +0000)
Change-Id: Ie645b48d3dceb24a477c5043ea88876b86875481

client/src/com/vaadin/client/ui/VScrollTable.java

index 54aca5381fcf3cc358ad6ce6f3101cc45be7b234..59d1131ff59ae58ba708a0e8316a410d6e3fc880 100644 (file)
@@ -5107,7 +5107,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
                 }
             }
             if (relIx >= 0) {
-                return this.firstRendered + relIx;
+                return firstRendered + relIx;
             }
             return -1;
         }
@@ -6925,6 +6925,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
                 .getStringAttribute("caption") : "";
         if (uidl.hasAttribute("icon")) {
             Icon icon = client.getIcon(uidl.getStringAttribute("icon"));
+            icon.setAlternateText("icon");
             s = icon.getElement().getString() + s;
         }
         return s;