diff options
author | Struan Donald <struan@exo.org.uk> | 2017-09-29 16:48:58 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2017-10-04 12:05:21 +0100 |
commit | 70ddda2c5e851c012b2bb98ec74c87490be6dad0 (patch) | |
tree | 7378d895be770ee533c999f1e08b4b2a78dbf391 /perllib/FixMyStreet/Script/Alerts.pm | |
parent | 2c083bab1fab506a06f27561a5e17408f4b0b723 (diff) |
correctly handle category changes in inspector form
This resolves two issues when updating the report category in the
staff users inspect form:
* report category is only updated if the rest of the form is valid
* only one update on the report is left
Previously changing the category would create an update in addition to
any public update created, and the category was always updated even when
validation errors occurred elsewhere in the form.
Diffstat (limited to 'perllib/FixMyStreet/Script/Alerts.pm')
0 files changed, 0 insertions, 0 deletions