X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec93d5082ab137ec690f310eb6eba3c54d10b825..9ee0bb19ad935fd57720bb523a6b93865c132a93:/apps/catalogue/fields.py diff --git a/apps/catalogue/fields.py b/apps/catalogue/fields.py index 853a321ca..57ce58189 100644 --- a/apps/catalogue/fields.py +++ b/apps/catalogue/fields.py @@ -108,7 +108,8 @@ class JQueryAutoCompleteSearchWidget(JQueryAutoCompleteWidget): $('#%s') .autocomplete($.extend({ minLength: 0, - select: autocomplete_result_handler + select: autocomplete_result_handler, + focus: function (ui, item) { return false; } }, %s)) .data("autocomplete")._renderItem = autocomplete_format_item; """ % (field_id, options)