X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec93d5082ab137ec690f310eb6eba3c54d10b825..8658102277980ea8e8e53a953e7c2f5fedf8de16:/apps/catalogue/fields.py?ds=inline 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)