diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-15 21:36:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 21:36:47 +0200 |
commit | 3763024ff9c11c307e09803f10c910a9e9b03a7a (patch) | |
tree | d47c9ca982e8e0401177430319a28ae243ce9352 /apps/files | |
parent | 596ead787ba7f7148fceb04de9d7c08cece936bc (diff) | |
parent | e15b43d976691b4d0f9901650178779bdd9a5d6c (diff) | |
download | nextcloud-server-3763024ff9c11c307e09803f10c910a9e9b03a7a.tar.gz nextcloud-server-3763024ff9c11c307e09803f10c910a9e9b03a7a.zip |
Merge pull request #32878 from nextcloud/fix-default-toast-message-for-failed-uploads-with-http2
Fix default toast message for failed uploads with HTTP/2
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 793c9672c3f..648a5a0307b 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -1134,7 +1134,7 @@ OC.Uploader.prototype = _.extend({ } } console.error(e, data, response) - OC.Notification.show(message || data.errorThrown, {type: 'error'}); + OC.Notification.show(message || data.errorThrown || t('files', 'File could not be uploaded'), {type: 'error'}); } if (upload) { |