diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2016-12-01 21:25:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 21:25:54 +0100 |
commit | ea45b220535310f063a4785f2281c96b7c7c2581 (patch) | |
tree | dc988237a306cc2e38be70d4cadb670e8096c8f8 /apps/files/js | |
parent | 61d61e794c9f3386757572431dced77474bb7c3f (diff) | |
parent | 9704b4df5287b41dc80f83b032b406f664ae021c (diff) | |
download | nextcloud-server-ea45b220535310f063a4785f2281c96b7c7c2581.tar.gz nextcloud-server-ea45b220535310f063a4785f2281c96b7c7c2581.zip |
Merge pull request #2444 from nextcloud/detect-also-a-400-status
Catch status code 400
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index fb0439114ed..a8daeadfd26 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1638,7 +1638,7 @@ return false; } - if (status === 404 || status === 405) { + if (status === 400 || status === 404 || status === 405) { // go back home this.changeDirectory('/'); return false; |