diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index bf777b21207db6dcb23c44bb9cc1234a2f44f9e9..4e3cc3b27af7e28e80f107a53696e64823eced4e 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -332,6 +332,10 @@ $(document).ready(function() { } } ); + $('#searchForm_type').change(function() { + var query = $('#searchForm_lookfor').val(); + $('#searchForm_lookfor').focus().typeahead('val', '').typeahead('val', query); + }); // Checkbox select all $('.checkbox-select-all').change(function() {