Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-06-15 22:36:47 +0300
committerGitHub <noreply@github.com>2022-06-15 22:36:47 +0300
commit3763024ff9c11c307e09803f10c910a9e9b03a7a (patch)
treed47c9ca982e8e0401177430319a28ae243ce9352 /apps/files
parent596ead787ba7f7148fceb04de9d7c08cece936bc (diff)
parente15b43d976691b4d0f9901650178779bdd9a5d6c (diff)
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.js2
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) {