Skip to content

Commit

Permalink
Include extensions in accepted photo upload.
Browse files Browse the repository at this point in the history
In my Firefox on Windows, .jpeg files are not otherwise shown.
  • Loading branch information
dracos committed Jun 30, 2020
1 parent 51eae76 commit 2626eb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Fix double encoding of per-category templates.
- Return reports in all closed states through Open311.
- Skip accounts without email when sending inactive emails.
- Include extensions in accepted photo upload.
- Admin improvements:
- Display user name/email for contributed as reports. #2990
- Interface for enabling anonymous reports for certain categories. #2989
Expand Down
2 changes: 1 addition & 1 deletion web/cobrands/fixmystreet/fixmystreet.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ $.extend(fixmystreet.set_up, {
resizeWidth: 2048,
resizeHeight: 2048,
resizeQuality: 0.6,
acceptedFiles: 'image/jpeg,image/pjpeg,image/gif,image/tiff,image/png',
acceptedFiles: 'image/jpeg,image/pjpeg,image/gif,image/tiff,image/png,.png,.tiff,.tif,.gif,.jpeg,.jpg',
dictDefaultMessage: default_message,
dictCancelUploadConfirmation: translation_strings.upload_cancel_confirmation,
dictInvalidFileType: translation_strings.upload_invalid_file_type,
Expand Down

0 comments on commit 2626eb6

Please sign in to comment.