Permalink
Browse files

Fixed a warning

  • Loading branch information...
delaitre committed Mar 10, 2010
1 parent 1ef9281 commit 3ec61db703de7dc599861bd5e853a3bf6e8ae197
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/time_trackers/_update_menu.rhtml
@@ -16,7 +16,7 @@ The span is populated with current time tracker state.
-->
<%= javascript_tag "document.observe('dom:loaded', function () {
$('time-tracker-menu').replace(
- '<span id=\"time-tracker-menu\">#{escape_javascript ((render :partial => 'time_trackers/embed_menu').delete "\n").strip}</span>');
+ '<span id=\"time-tracker-menu\">#{escape_javascript(((render :partial => 'time_trackers/embed_menu').delete "\n").strip)}</span>');
});"
%>

0 comments on commit 3ec61db

Please sign in to comment.