mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #32894 from nextcloud/backport/32878/stable24
[stable24] Fix default toast message for failed uploads with HTTP/2
This commit is contained in:
commit
e850afb74f
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue