diff --git a/app/assets/javascripts/members_select_boxes.js b/app/assets/javascripts/members_select_boxes.js index 4f96fd6012..a9abebd8a6 100644 --- a/app/assets/javascripts/members_select_boxes.js +++ b/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 = $('
').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,