summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-07-01 15:19:08 +0200
committerLukas Reschke <lukas@owncloud.com>2016-07-01 15:19:21 +0200
commit76c73d5ec32828d9b5d546aefd489b8080b8bad5 (patch)
tree94b4d01929d5c7a9c20e4bc6b26700455bd7086f /apps/files/js
parent4ac9eaab0379cc0535a6ab18be0fa147facf1bd5 (diff)
downloadnextcloud-server-76c73d5ec32828d9b5d546aefd489b8080b8bad5.tar.gz
nextcloud-server-76c73d5ec32828d9b5d546aefd489b8080b8bad5.zip
Match on 405
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 506d423c817..0813d2cc30e 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1552,7 +1552,7 @@
return false;
}
- if (status === 404) {
+ if (status === 404 || status === 405) {
// go back home
this.changeDirectory('/');
return false;