diff options
Diffstat (limited to 'hyperkitty/static')
-rw-r--r-- | hyperkitty/static/css/hyperkitty-common.css | 3 | ||||
-rw-r--r-- | hyperkitty/static/js/hyperkitty-thread.js | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/hyperkitty/static/css/hyperkitty-common.css b/hyperkitty/static/css/hyperkitty-common.css index daa925e..7b05127 100644 --- a/hyperkitty/static/css/hyperkitty-common.css +++ b/hyperkitty/static/css/hyperkitty-common.css @@ -276,3 +276,6 @@ a.thread-new strong { display: block; margin: 1em auto; } +.ui-autocomplete-loading { + background: white url('../img/ajax-loader.gif') right center no-repeat; +} 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") + }); } |