Преглед изворни кода

Make Action icons again include alt text (#13375)

Change-Id: I7b65d8f20936e5e6360dfc4d333e7c6ea3f2bc13
tags/7.2.0.beta1
Johannes Dahlström пре 10 година
родитељ
комит
aee5bc2409
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      client/src/com/vaadin/client/ui/Action.java

+ 1
- 0
client/src/com/vaadin/client/ui/Action.java Прегледај датотеку

@@ -46,6 +46,7 @@ public abstract class Action implements Command {
// right now because Actions are recreated every time they are needed
Icon icon = owner.getClient().getIcon(getIconUrl());
if (icon != null) {
icon.setAlternateText("icon");
sb.append(icon.getElement().getString());
}
sb.append(getCaption());

Loading…
Откажи
Сачувај