diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-07 17:20:08 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-07 17:20:08 -0400 |
commit | 5be9480128b2841647b204ba19ec9f45dac438f5 (patch) | |
tree | b83441962e485e70d239a3ad8b9bf6ae6d9d5db6 /app/assets/javascripts/admin | |
parent | a4779bdb3baf50b477bbe166f7b1d873d75e506f (diff) | |
download | thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.gz thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.tar.bz2 thoughts-5be9480128b2841647b204ba19ec9f45dac438f5.zip |
Added tag autocompletion
refs #2
Diffstat (limited to 'app/assets/javascripts/admin')
-rw-r--r-- | app/assets/javascripts/admin/records.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/admin/records.coffee b/app/assets/javascripts/admin/records.coffee index 7a11ce1..27cdb78 100644 --- a/app/assets/javascripts/admin/records.coffee +++ b/app/assets/javascripts/admin/records.coffee | |||
@@ -25,3 +25,6 @@ $(document).on "turbolinks:load", -> | |||
25 | published_field_toggle($(this).prop("checked")) | 25 | published_field_toggle($(this).prop("checked")) |
26 | $("input[type=tags]").each -> | 26 | $("input[type=tags]").each -> |
27 | tagsInput(this) | 27 | tagsInput(this) |
28 | $(".tags-input input[type=text]").autocomplete({ | ||
29 | source: Routes.suggest_tags_path() | ||
30 | }) | ||