aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJuho Nurminen <juho@vaadin.com>2013-10-30 14:25:30 +0200
committerVaadin Code Review <review@vaadin.com>2013-10-30 13:43:33 +0000
commite2157f47967e1470704cb0b2ab023941f26171f9 (patch)
tree7d130a8b35f159523d2e8eb5905cc7d61d11c696 /client
parent017bd0684c7d6c8475c8b43514e6f3998095c8d6 (diff)
downloadvaadin-framework-e2157f47967e1470704cb0b2ab023941f26171f9.tar.gz
vaadin-framework-e2157f47967e1470704cb0b2ab023941f26171f9.zip
Fixed Tab error tooltips (#12802)
Change-Id: I5ad33f38be5fac64805950d143ad2712e671ff83
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java
index 7dec62bde0..c64216d49f 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -265,7 +265,8 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
}
public boolean updateCaption(UIDL uidl) {
- if (uidl.hasAttribute(TabsheetBaseConstants.ATTRIBUTE_TAB_DESCRIPTION)) {
+ if (uidl.hasAttribute(TabsheetBaseConstants.ATTRIBUTE_TAB_DESCRIPTION)
+ || uidl.hasAttribute(TabsheetBaseConstants.ATTRIBUTE_TAB_ERROR_MESSAGE)) {
setTooltipInfo(new TooltipInfo(
uidl.getStringAttribute(TabsheetBaseConstants.ATTRIBUTE_TAB_DESCRIPTION),
uidl.getStringAttribute(TabsheetBaseConstants.ATTRIBUTE_TAB_ERROR_MESSAGE)));