diff --git a/zephyr/static/js/search.js b/zephyr/static/js/search.js index 214c401892..eb2aed5fea 100644 --- a/zephyr/static/js/search.js +++ b/zephyr/static/js/search.js @@ -9,8 +9,6 @@ var cached_table = $('table.focused_table'); var current_search_term; // Data storage for the typeahead -- to go from object to string representation and vice versa. -var labels = []; -var mapped = {}; // to be deprecated var search_object = {}; function get_query(obj) { @@ -97,11 +95,6 @@ function get_label(obj) { } } -exports.update_typeahead = function () { - mapped = {}; - labels = []; // deprecated -}; - function narrow_or_search_for_term(item) { var search_query_box = $("#search_query"); var obj = search_object[item]; diff --git a/zephyr/static/js/typeahead_helper.js b/zephyr/static/js/typeahead_helper.js index 3d92c4f1f7..389b5cf6aa 100644 --- a/zephyr/static/js/typeahead_helper.js +++ b/zephyr/static/js/typeahead_helper.js @@ -12,7 +12,6 @@ exports.autocomplete_needs_update = function (needs_update) { }; exports.update_autocomplete = function () { - search.update_typeahead(); autocomplete_needs_update = false; };