summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/elements/menu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 854147042..fcf2caa0e 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -62,11 +62,11 @@
% my( $subhtml, $submenuname ) = submenu($url_or_submenu, $item);
<% $subhtml |n %>
- myBar.add(new WebFXMenuButton("<% emt($item) %>", null, "<% emt($tooltip) %>", <% $submenuname |n %> ));
+ myBar.add(new WebFXMenuButton(<% mt($item) |js_string %>, null, <% mt($tooltip) |js_string %>, <% $submenuname |n %> ));
% } else {
- myBar.add(new WebFXMenuButton("<% emt($item) %>", "<% $url_or_submenu %>", "<% emt($tooltip) %>" ));
+ myBar.add(new WebFXMenuButton(<% mt($item) |js_string %>, "<% $url_or_submenu %>", <% mt($tooltip) |js_string %> ));
% }
% } #foreach $item