summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2013-01-23 10:55:49 +0200
committerJohannes Dahlström <johannesd@vaadin.com>2013-01-23 11:11:54 +0200
commitec563bab32daf28e7b1329975a001b1701c117a3 (patch)
tree502d51a45f4ae04642e9b3ccf7f0fb815e1a33e1 /client
parent4105cc72f0937e904abe50ea87fad02ccd267971 (diff)
downloadvaadin-framework-ec563bab32daf28e7b1329975a001b1701c117a3.tar.gz
vaadin-framework-ec563bab32daf28e7b1329975a001b1701c117a3.zip
Disable Form tooltips, as Form shows both description and component error as a part of the layout (#10784)
Change-Id: Ia5af801e099e997ae25cfcf25434c8542da75a48
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;
}
}