summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 10:05:16 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-04-15 10:05:16 +0000
commitd4f15a897f067ff38582e3969249b1516a08f734 (patch)
treef803f5ddd629f0fed74ccb8d0ffa4d7a66d03fad /src
parentc7e81ad493c4bfe62f56e18ff073d4badcde00a9 (diff)
downloadvaadin-framework-d4f15a897f067ff38582e3969249b1516a08f734.tar.gz
vaadin-framework-d4f15a897f067ff38582e3969249b1516a08f734.zip
fixes #6842, descriptions now shown from the whole component
svn changeset:18319/svn branch:6.6
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VUpload.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VUpload.java b/src/com/vaadin/terminal/gwt/client/ui/VUpload.java
index 799812396e..c654ddd88b 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VUpload.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VUpload.java
@@ -25,6 +25,7 @@ import com.vaadin.terminal.gwt.client.ApplicationConnection;
import com.vaadin.terminal.gwt.client.Paintable;
import com.vaadin.terminal.gwt.client.UIDL;
import com.vaadin.terminal.gwt.client.VConsole;
+import com.vaadin.terminal.gwt.client.VTooltip;
/**
*
@@ -126,6 +127,16 @@ public class VUpload extends SimplePanel implements Paintable {
panel.add(submitButton);
setStyleName(CLASSNAME);
+
+ sinkEvents(VTooltip.TOOLTIP_EVENTS);
+ }
+
+ @Override
+ public void onBrowserEvent(Event event) {
+ if ((event.getTypeInt() & VTooltip.TOOLTIP_EVENTS) > 0) {
+ client.handleTooltipEvent(event, this);
+ }
+ super.onBrowserEvent(event);
}
private static native void setEncoding(Element form, String encoding)