diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-20 10:49:38 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-20 10:49:38 -0400 |
commit | 2e1365d37bddf787c7089126c1a5ff1c623ab0e2 (patch) | |
tree | b28ebb51e4070bfafea486984ca8e393a378f84c /app/assets/javascripts | |
parent | c319edf970b238cfc795f54e44de41ddab48ea71 (diff) | |
download | thoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.tar.gz thoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.tar.bz2 thoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.zip |
Added mass pending comment deletion/markspamming
Diffstat (limited to 'app/assets/javascripts')
-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) |