]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use   in empty table footers to make them render properly (#7718)
authorLeif Åstrand <leif@vaadin.com>
Thu, 10 May 2012 08:33:27 +0000 (08:33 +0000)
committerLeif Åstrand <leif@vaadin.com>
Thu, 10 May 2012 08:33:27 +0000 (08:33 +0000)
svn changeset:23701/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index a022a2bd83a91b0c0a32309a6080b67319cb480e..f0874a5d18489d64859e8541e01081e020549b66 100644 (file)
@@ -3425,6 +3425,10 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
          *            The text in the footer
          */
         public void setText(String footerText) {
+            if (footerText == null || footerText.equals("")) {
+                footerText = "&nbsp;";
+            }
+
             DOM.setInnerHTML(captionContainer, footerText);
         }