diff options
author | Dave Arter <davea@mysociety.org> | 2017-06-12 13:46:37 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-30 13:13:02 +0100 |
commit | 3ca3ddeb424c69220fb4293cb46e3823c752180e (patch) | |
tree | 3a0cdc922d88fa0983ab220c9cf249a7ba2326a9 /scripts/prepare_index_html.js | |
parent | e42acf108661838baccd0b2726c3632e4abb5779 (diff) |
Allow multiple photos with reports
A new CONFIG.MAX_PHOTOS setting enables any number of photos to be
uploaded.
Includes code adapted from from 0ac07c1ea062a68d68d162c3ecdbba7e9da3e4c9
and c207193a0e052ae9e41a6d42e0ac1b704883b25b in zurich_mobile: this is a
bit of an abuse of the FileTransfer plugin, which technically doesn't
support uploading more than one file at a time. There's no good reason
for that though, the HTTP spec allows an arbitrary number of files in a
POST request.
Diffstat (limited to 'scripts/prepare_index_html.js')
0 files changed, 0 insertions, 0 deletions