]> source.dussan.org Git - vaadin-framework.git/commitdiff
There was a small yellow strip on the bottom of the tooltip, it it had an error messa...
authorMarc Englund <marc.englund@itmill.com>
Fri, 27 Jun 2008 08:19:40 +0000 (08:19 +0000)
committerMarc Englund <marc.englund@itmill.com>
Fri, 27 Jun 2008 08:19:40 +0000 (08:19 +0000)
svn changeset:4959/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/Tooltip.java

index 42509f3bad6bd95226531ed47fd855ca2b549022..93f6f3be798ef6f35377fe2dca7b359f539639a1 100644 (file)
@@ -49,9 +49,11 @@ public class Tooltip extends ToolkitOverlay {
         }
         if (info.getTitle() != null && !"".equals(info.getTitle())) {
             DOM.setInnerHTML(description, info.getTitle());
+            DOM.setStyleAttribute(description, "display", "");
             hasContent = true;
         } else {
             DOM.setInnerHTML(description, "");
+            DOM.setStyleAttribute(description, "display", "none");
         }
         if (hasContent) {
             setPopupPositionAndShow(new PositionCallback() {