Fix double escaping in timelines select2 (fixes #2567)

pull/606/head
Till Breuer 11 years ago
parent 0be2b5f3d5
commit 62d4a7a4f4
  1. 2
      app/assets/javascripts/timelines_autocompleter.js
  2. 2
      app/views/timelines/filter/_projects.html.erb

@ -164,7 +164,7 @@
return markup.join("");
},
formatSelection: function (item) {
return OpenProject.Helpers.markupEscape(item.name);
return item.name;
},
initSelection: function (element, callback) {
var data = [];

@ -65,7 +65,7 @@ See doc/COPYRIGHT.rdoc for more details.
{:multiple => true,
:size => 12}) %>
<% else %>
<%= select("timeline[options]",
<%= select("timeline[options]",
:project_types,
options_for_select([]),
{},

Loading…
Cancel
Save