diff options
Diffstat (limited to 'server/src/com/vaadin/ui/MenuBar.java')
-rw-r--r-- | server/src/com/vaadin/ui/MenuBar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/MenuBar.java b/server/src/com/vaadin/ui/MenuBar.java index c11cf02aaf..9f05df7869 100644 --- a/server/src/com/vaadin/ui/MenuBar.java +++ b/server/src/com/vaadin/ui/MenuBar.java @@ -952,12 +952,12 @@ public class MenuBar extends AbstractComponent implements LegacyComponent, // in many cases there seems to be an empty more menu item if (getMoreMenuItem() != null && !getMoreMenuItem().getText().isEmpty()) { Element moreMenu = createMenuElement(getMoreMenuItem()); - moreMenu.attr("more", ""); + moreMenu.attr("more", true); design.appendChild(moreMenu); } if (!htmlContentAllowed) { - design.attr(DESIGN_ATTR_PLAIN_TEXT, ""); + design.attr(DESIGN_ATTR_PLAIN_TEXT, true); } } |