diff options
author | Dave Arter <davea@mysociety.org> | 2016-08-25 17:04:42 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-26 14:22:26 +0100 |
commit | 4f7664c2b0e79fdfe57028e966642acd8c846568 (patch) | |
tree | 8d2a1707b65b3e13284f40c97dcad41c4567ec79 /t/open311/endpoint/exor/DBD/Oracle.pm | |
parent | 0e2e741fc8380fbd1d0b7b5ed16050d6f4dc27e2 (diff) |
Make sure moderation works on AJAX-loaded report.
This refactors the moderation JS into a fixmystreet.set_up function, and
ensures the button handlers are attached when a new report is loaded
over AJAX. A side effect of bringing it into fixmystreet.js instead of
its own moderate.js file is the few extra kb each user will have to
download, but hopefully gzip and caching will help ameliorate this.
Diffstat (limited to 't/open311/endpoint/exor/DBD/Oracle.pm')
0 files changed, 0 insertions, 0 deletions