diff --git a/kitsune/questions/templates/questions/questions.html b/kitsune/questions/templates/questions/questions.html index 2a5f32098bd..56de7e32beb 100644 --- a/kitsune/questions/templates/questions/questions.html +++ b/kitsune/questions/templates/questions/questions.html @@ -105,7 +105,7 @@

{{ _('Show') }}

{{ _('Filter') }}

{{ _('Enter a tag. For example: "Firefox 14.0", "Windows 7", "crash"') }}

-
+ {% for key, value in request.GET.items() %} diff --git a/kitsune/sumo/static/js/tags.filter.js b/kitsune/sumo/static/js/tags.filter.js index e0eeac1bfd7..40e96725a79 100644 --- a/kitsune/sumo/static/js/tags.filter.js +++ b/kitsune/sumo/static/js/tags.filter.js @@ -38,6 +38,16 @@ function init($container) { } }); + // Set up autocomplete + // Skip if the autocomplete plugin isn't available (qunit tests). + if($tags.autocomplete) { + $tags.autocomplete({ + source: _.keys(vocab), + delay: 0, + minLength: 1 + }); + } + // When form is submitted, get the slugs to send over in request. $form.submit(function() { var tagNames = $tags.val(),