fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new librarian sub-module: custom pdfs
[wolnelektury.git]
/
apps
/
catalogue
/
fields.py
diff --git
a/apps/catalogue/fields.py
b/apps/catalogue/fields.py
index
853a321
..
57ce581
100644
(file)
--- a/
apps/catalogue/fields.py
+++ b/
apps/catalogue/fields.py
@@
-108,7
+108,8
@@
class JQueryAutoCompleteSearchWidget(JQueryAutoCompleteWidget):
$('#%s')
.autocomplete($.extend({
minLength: 0,
$('#%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)
}, %s))
.data("autocomplete")._renderItem = autocomplete_format_item;
""" % (field_id, options)