mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #22592 from nextcloud/backport/22577/stable18
[stable18] Better error message when blocked by access control
This commit is contained in:
commit
fdeeeb7699
1 changed files with 2 additions and 0 deletions
|
|
@ -1303,6 +1303,8 @@ OC.Uploader.prototype = _.extend({
|
|||
self.cancelUploads();
|
||||
} else if (status === 409) {
|
||||
OC.Notification.show(message || t('files', 'Target folder does not exist any more'), {type: 'error'});
|
||||
} else if (status === 403) {
|
||||
OC.Notification.show(message || t('files', 'Operation is blocked by access control'), {type: 'error'});
|
||||
} else {
|
||||
OC.Notification.show(message || t('files', 'Error when assembling chunks, status code {status}', {status: status}), {type: 'error'});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue