diff options
author | Dave Arter <davea@mysociety.org> | 2017-01-18 14:32:19 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-02-15 17:34:38 +0000 |
commit | 71e4186cefa356f240870cd5edf0e15b27e5e044 (patch) | |
tree | 035ee91ed97e48dda3efdfc478ed48149ec1f143 /web/cobrands | |
parent | bb99a8917a9b7fc38f0c0847f45c68659791b54a (diff) |
Clarify ‘inspected’ behaviour
A report is now considered 'inspected' if its state was changed by an inspector.
Additionally, an AdminLog entry is created so the time of inspection and
inspector can be recorded.
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/fixmystreet/offline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/offline.js b/web/cobrands/fixmystreet/offline.js index 7b9be4c6c..0fdad1279 100644 --- a/web/cobrands/fixmystreet/offline.js +++ b/web/cobrands/fixmystreet/offline.js @@ -322,7 +322,7 @@ fixmystreet.offline = (function() { if (savedForm) { savedForm.replace(/\+/g, '%20').split('&').forEach(function(kv) { kv = kv.split('=', 2); - if (kv[0] != 'save_inspected' && kv[0] != 'public_update' && kv[0] != 'save') { + if (kv[0] != 'include_update' && kv[0] != 'public_update' && kv[0] != 'save') { $('[name=' + kv[0] + ']').val(decodeURIComponent(kv[1])); } }); |