Skip to content

Commit

Permalink
[webui] another place to be marked as html_safe
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 27, 2013
1 parent 3b51256 commit 356a8f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webui/app/views/shared/_buildresult_box.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
$.ajax({
url: '<%= url_for(:controller => controller, :action => 'buildresult') %>',
data: {
<%= "'project': '" + project + "'," unless not defined?(project) %>
<%= "'package': '" + package + "'," unless not defined?(package) %>
<%= "'index': '" + index.to_s + "'," unless not defined?(index) %>
<%= "'project': '".html_safe + project + "',".html_safe unless not defined?(project) %>
<%= "'package': '".html_safe + package + "',".html_safe unless not defined?(package) %>
<%= "'index': '".html_safe + index.to_s + "',".html_safe unless not defined?(index) %>
},
success: function(data) {
$('#result_display_<%= index %>_0').html(data);
Expand Down

0 comments on commit 356a8f3

Please sign in to comment.