diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-17 14:49:04 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-17 14:49:04 +0100 |
commit | 7af7d18cfa2f1fab239e9a21e989bd8061cf23bb (patch) | |
tree | f11a35340c168a2a866fcf5c82c9d21d847206aa /apps/files/js | |
parent | add696b057fa40696c251d4a52ed9d2a997c7aa0 (diff) | |
parent | b99c6f1f67a207984b8b5355703cabd89d1e7c73 (diff) | |
download | nextcloud-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.js | 7 |
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 |