aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-03-19 16:26:03 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-19 18:16:54 +0000
commitf8066e46000af4f6403a53ec4cfcefcb30b68d0b (patch)
treeb1535dac3a4fee1f3e6813129b81374f34abfde6
parent73a43f2bec76e9f2757e3ad6598b096dec4dd5da (diff)
downloadvaadin-framework-f8066e46000af4f6403a53ec4cfcefcb30b68d0b.tar.gz
vaadin-framework-f8066e46000af4f6403a53ec4cfcefcb30b68d0b.zip
Make icons again include alt text (#13152)
Change-Id: Ie645b48d3dceb24a477c5043ea88876b86875481
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java
index 54aca5381f..59d1131ff5 100644
--- a/client/src/com/vaadin/client/ui/VScrollTable.java
+++ b/client/src/com/vaadin/client/ui/VScrollTable.java
@@ -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;