summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authormichaelvogt <michael@vaadin.com>2013-05-17 10:08:36 +0300
committerVaadin Code Review <review@vaadin.com>2013-05-17 07:46:30 +0000
commit3dd6b44897803edb8ec06a511931da47d47408e5 (patch)
treecd2cdc563c3de8b5fc3c64000783af59c3fc0563 /client
parent145a3e3dad46e1aa04e4c8166e309ee8aaa8deeb (diff)
downloadvaadin-framework-3dd6b44897803edb8ec06a511931da47d47408e5.tar.gz
vaadin-framework-3dd6b44897803edb8ec06a511931da47d47408e5.zip
Show tooltip on focus for DataField for AT (#11865)
Add focus handling so that the tooltip is handled when entering the DateField with Tab Change-Id: I67fc0db62722b457918470f5de180dd39d86d346
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VTextualDate.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VTextualDate.java b/client/src/com/vaadin/client/ui/VTextualDate.java
index 9307455a83..9d7e31faab 100644
--- a/client/src/com/vaadin/client/ui/VTextualDate.java
+++ b/client/src/com/vaadin/client/ui/VTextualDate.java
@@ -82,6 +82,9 @@ public class VTextualDate extends VDateField implements Field, ChangeHandler,
getClient()
.updateVariable(getId(), EventId.FOCUS, "", true);
}
+
+ // Needed for tooltip event handling
+ VTextualDate.this.fireEvent(event);
}
});
text.addBlurHandler(new BlurHandler() {
@@ -100,6 +103,9 @@ public class VTextualDate extends VDateField implements Field, ChangeHandler,
EventId.BLUR)) {
getClient().updateVariable(getId(), EventId.BLUR, "", true);
}
+
+ // Needed for tooltip event handling
+ VTextualDate.this.fireEvent(event);
}
});