diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-04-20 21:07:20 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-04-20 21:07:20 +0200 |
commit | af5d08d97fc5f759c5fa54ec758eeb581083e7e2 (patch) | |
tree | 87b635439f147284a380ca9efb8e1ec73ddc94ab | |
parent | 3a83912300725aa4d8e6958c71e3eee72bfb7b7f (diff) | |
parent | 39004c2b7bee04d12694df55fd9be92d9a09a275 (diff) | |
download | nextcloud-server-af5d08d97fc5f759c5fa54ec758eeb581083e7e2.tar.gz nextcloud-server-af5d08d97fc5f759c5fa54ec758eeb581083e7e2.zip |
Merge pull request #23984 from owncloud/fix-infinite-loop-in-unavailable-mount
[stable8.2] Fixes a possible infinite change-dir-loop
-rw-r--r-- | apps/files/js/filelist.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index ee2f85c546a..00cfaf53013 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1371,7 +1371,8 @@ // if the error is not related to folder we're trying to load, reload the page to handle logout etc if (result.data.error === 'authentication_error' || result.data.error === 'token_expired' || - result.data.error === 'application_not_enabled' + result.data.error === 'application_not_enabled' || + result.data.exception === '\\OCP\\Files\\StorageNotAvailableException' ) { OC.redirect(OC.generateUrl('apps/files')); } |