diff options
author | zeripath <art27@cantab.net> | 2020-10-11 00:49:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-11 00:49:59 +0100 |
commit | 7eb846013299465e4cd73f76f13a00984183146e (patch) | |
tree | 0263f6af28d7b3247545fff3632ba94c9119a58e /templates/repo/upload.tmpl | |
parent | 6f2784911fe739d3b83787b7984c1b8a2fb31690 (diff) | |
download | gitea-7eb846013299465e4cd73f76f13a00984183146e.tar.gz gitea-7eb846013299465e4cd73f76f13a00984183146e.zip |
Fix attachments list in edit comment (#13036)
#11141 broke the appearance of dropzone attachments when editting
comments causing poorly updating lists.
This PR fixes this.
Fix #12583
Signed-off-by: Andrew Thornton art27@cantab.net
Diffstat (limited to 'templates/repo/upload.tmpl')
-rw-r--r-- | templates/repo/upload.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/upload.tmpl b/templates/repo/upload.tmpl index 93bc098dae..9215da2b19 100644 --- a/templates/repo/upload.tmpl +++ b/templates/repo/upload.tmpl @@ -1,6 +1,7 @@ <div class="ui dropzone" id="dropzone" + data-link-url="{{.UploadLinkUrl}}" data-upload-url="{{.UploadUrl}}" data-remove-url="{{.UploadRemoveUrl}}" data-accepts="{{.UploadAccepts}}" |