diff options
Diffstat (limited to 'app/assets/javascripts/admin/dashboard.coffee')
-rw-r--r-- | app/assets/javascripts/admin/dashboard.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/admin/dashboard.coffee b/app/assets/javascripts/admin/dashboard.coffee index 4fa6cd8..bc48315 100644 --- a/app/assets/javascripts/admin/dashboard.coffee +++ b/app/assets/javascripts/admin/dashboard.coffee | |||
@@ -3,6 +3,8 @@ | |||
3 | # You can use CoffeeScript in this file: http://coffeescript.org/ | 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ |
4 | dash_ready = -> | 4 | dash_ready = -> |
5 | $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"}) | 5 | $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"}) |
6 | $("#check_all").change -> | ||
7 | $(".comment_ids").prop("checked", $(this).prop("checked")) | ||
6 | 8 | ||
7 | $(document).ready(dash_ready) | 9 | $(document).ready(dash_ready) |
8 | $(document).on('turbolinks:load', dash_ready) | 10 | $(document).on('turbolinks:load', dash_ready) |