summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/js/hyperkitty-thread.js
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/static/js/hyperkitty-thread.js')
-rw-r--r--hyperkitty/static/js/hyperkitty-thread.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/hyperkitty/static/js/hyperkitty-thread.js b/hyperkitty/static/js/hyperkitty-thread.js
index e841f75..5b7765d 100644
--- a/hyperkitty/static/js/hyperkitty-thread.js
+++ b/hyperkitty/static/js/hyperkitty-thread.js
@@ -54,6 +54,11 @@ function setup_tags() {
e.preventDefault();
$(this).parents("form").first().submit();
});
+ // Autocomplete
+ $("#id_tag").autocomplete({
+ //minLength: 2,
+ source: $("#add-tag-form").attr("data-autocompleteurl")
+ });
}