X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/919a5d574aac85d55b6cfd17f0a81dd5ff56265a..b80f646690239d9a90d708d57780f328328b26d5:/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)