Don't escape results on retrieval

pull/1026/head
Hagen Schink 11 years ago
parent d0fc040c50
commit 5403380524
  1. 8
      app/assets/javascripts/members_select_boxes.js

@ -87,13 +87,7 @@ jQuery(document).ready(function($) {
};
},
results: function (data, page) {
active_items = [];
data.results.items.each(function (e) {
e.name = $('<pre>').text(e.name).html();
active_items.push(e);
});
return {'results': active_items, 'more': data.results.more};
return {'results': data.results.items, 'more': data.results.more};
}
},
formatResult: formatItems,

Loading…
Cancel
Save