summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-01-23 12:18:14 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-23 12:18:15 +0000
commitf2c16b9c76d840f932c664261270a3ad49a9473a (patch)
tree91ab94802b704268eaef50f7a1c533465c8ab6ba /client
parentc62a76f02d0587aa9bf6c1a95d2c308dbea0093b (diff)
parentec563bab32daf28e7b1329975a001b1701c117a3 (diff)
downloadvaadin-framework-f2c16b9c76d840f932c664261270a3ad49a9473a.tar.gz
vaadin-framework-f2c16b9c76d840f932c664261270a3ad49a9473a.zip
Merge "Disable Form tooltips, as Form shows both description and component error as a part of the layout (#10784)"
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/form/FormConnector.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/client/src/com/vaadin/client/ui/form/FormConnector.java b/client/src/com/vaadin/client/ui/form/FormConnector.java
index b87faf7b30..22277b6974 100644
--- a/client/src/com/vaadin/client/ui/form/FormConnector.java
+++ b/client/src/com/vaadin/client/ui/form/FormConnector.java
@@ -26,7 +26,6 @@ import com.vaadin.client.LayoutManager;
import com.vaadin.client.Paintable;
import com.vaadin.client.TooltipInfo;
import com.vaadin.client.UIDL;
-import com.vaadin.client.Util;
import com.vaadin.client.ui.AbstractComponentContainerConnector;
import com.vaadin.client.ui.Icon;
import com.vaadin.client.ui.ShortcutActionHandler;
@@ -228,12 +227,8 @@ public class FormConnector extends AbstractComponentContainerConnector
@Override
public TooltipInfo getTooltipInfo(Element element) {
- if (Util.getConnectorForElement(getConnection(), getWidget()
- .getParent(), (com.google.gwt.user.client.Element) element
- .cast()) != this) {
- // Do not show tooltips when hovering over child fields
- return null;
- }
- return super.getTooltipInfo(element);
+ // Form shows its description and error message
+ // as a part of the actual layout
+ return null;
}
}