summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-17 14:49:04 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-17 14:49:04 +0100
commit7af7d18cfa2f1fab239e9a21e989bd8061cf23bb (patch)
treef11a35340c168a2a866fcf5c82c9d21d847206aa /apps/files/js
parentadd696b057fa40696c251d4a52ed9d2a997c7aa0 (diff)
parentb99c6f1f67a207984b8b5355703cabd89d1e7c73 (diff)
downloadnextcloud-server-7af7d18cfa2f1fab239e9a21e989bd8061cf23bb.tar.gz
nextcloud-server-7af7d18cfa2f1fab239e9a21e989bd8061cf23bb.zip
Merge pull request #16783 from owncloud/handle-redirects-global
Adding global error handler for ajax calls which run into redirection…
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index dd03b0c895a..81dfea2114d 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1433,13 +1433,6 @@
delete this._reloadCall;
this.hideMask();
- if (status === 401) {
- // TODO: append current URL to be able to get back after logging in again
- OC.redirect(OC.generateUrl('apps/files'));
- OC.Notification.show(result);
- return false;
- }
-
// Firewall Blocked request?
if (status === 403) {
// Go home