diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/questionnaire/index.html | 1 | ||||
-rw-r--r-- | templates/web/base/report/new/fill_in_details_form.html | 1 | ||||
-rw-r--r-- | templates/web/base/report/update-form.html | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/questionnaire/index.html b/templates/web/base/questionnaire/index.html index 82f0534f4..2c7761d5d 100644 --- a/templates/web/base/questionnaire/index.html +++ b/templates/web/base/questionnaire/index.html @@ -81,6 +81,7 @@ <div id="form_photos"> [% IF upload_fileid %] <script> + var fixmystreet = fixmystreet || {}; fixmystreet.uploaded_files = "[% upload_fileid %]".split(','); </script> <p>[% loc('You have already attached photos to this update. Note that you can attach a maximum of 3 to this update (if you try to upload more, the oldest will be removed).') %]</p> diff --git a/templates/web/base/report/new/fill_in_details_form.html b/templates/web/base/report/new/fill_in_details_form.html index ae5586127..9c42f4696 100644 --- a/templates/web/base/report/new/fill_in_details_form.html +++ b/templates/web/base/report/new/fill_in_details_form.html @@ -60,6 +60,7 @@ <div id="form_photos"> [% IF upload_fileid %] <script> + var fixmystreet = fixmystreet || {}; fixmystreet.uploaded_files = "[% upload_fileid %]".split(','); </script> <p>[% loc('You have already attached photos to this report. Note that you can attach a maximum of 3 to this report (if you try to upload more, the oldest will be removed).') %]</p> diff --git a/templates/web/base/report/update-form.html b/templates/web/base/report/update-form.html index 8c812cd08..adf1130bf 100644 --- a/templates/web/base/report/update-form.html +++ b/templates/web/base/report/update-form.html @@ -27,6 +27,7 @@ <div id="form_photos"> [% IF upload_fileid %] <script> + var fixmystreet = fixmystreet || {}; fixmystreet.uploaded_files = "[% upload_fileid %]".split(','); </script> <p>[% loc('You have already attached photos to this update. Note that you can attach a maximum of 3 to this update (if you try to upload more, the oldest will be removed).') %]</p> |