diff options
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/admin/records.coffee | 3 | ||||
-rw-r--r-- | app/assets/javascripts/application.js | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/admin.css.scss | 1 |
3 files changed, 6 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 | }) | ||
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index a81b3b2..58e8fb7 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js | |||
@@ -15,4 +15,6 @@ | |||
15 | //= require turbolinks | 15 | //= require turbolinks |
16 | //= require ckeditor/init | 16 | //= require ckeditor/init |
17 | //= require tags-input | 17 | //= require tags-input |
18 | //= require jquery-ui | ||
19 | //= require js-routes | ||
18 | //= require_tree ./admin | 20 | //= require_tree ./admin |
diff --git a/app/assets/stylesheets/admin.css.scss b/app/assets/stylesheets/admin.css.scss index 95d1ed0..cb6fb96 100644 --- a/app/assets/stylesheets/admin.css.scss +++ b/app/assets/stylesheets/admin.css.scss | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | *= require normalize-rails | 2 | *= require normalize-rails |
3 | *= require tags-input | 3 | *= require tags-input |
4 | *= require jquery-ui | ||
4 | *= require_tree ./admin | 5 | *= require_tree ./admin |
5 | */ | 6 | */ |