diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-10-03 09:49:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-04 10:37:52 +0100 |
commit | d8fd656009fe6b9868ae366c0d6b0d9f6cbf2272 (patch) | |
tree | 8f42b5c6f43dec530547391c92017d1fe1e97882 /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | a9193cd34159cd1a133c5a79a5f49b26ce704df6 (diff) |
Remove separate “Public update” form section
Inspectors can now tick the optional “Save with a public update”
checkbox, to reveal the “Public update” textarea. This means there is
no longer a need for two separate submit buttons.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index cca2568f2..e68b7fda0 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -310,7 +310,7 @@ sub inspect : Private { $c->stash->{categories} = $c->forward('/admin/categories_for_point'); - if ( $c->get_param('save') || $c->get_param('save_inspected') ) { + if ( $c->get_param('save') ) { $c->forward('/auth/check_csrf_token'); my $valid = 1; |