summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-07 14:41:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-07 14:41:31 +0100
commit46af7db3e30fea722d2f7f65e7e56eea99e286a2 (patch)
treede5fe2bc8bd4071f0f94fefa5e5ac156dbc354b7 /apps/files_trashbin
parentbd4b61f52b21a30fc524a779e94717c0ec2c576b (diff)
parentdbdf2173ac90e5f1bf09a970f05a745dec73e2e1 (diff)
downloadnextcloud-server-46af7db3e30fea722d2f7f65e7e56eea99e286a2.tar.gz
nextcloud-server-46af7db3e30fea722d2f7f65e7e56eea99e286a2.zip
Merge pull request #22785 from owncloud/trash-returnfalseon401
Return false on 401 in file list + trash file list
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/js/filelist.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js
index 5812aff82f7..feed28d8fc7 100644
--- a/apps/files_trashbin/js/filelist.js
+++ b/apps/files_trashbin/js/filelist.js
@@ -325,6 +325,10 @@
return false;
}
+ if (result.status === 401) {
+ return false;
+ }
+
// Firewall Blocked request?
if (result.status === 403) {
// Go home