diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-10 18:08:40 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-15 12:48:47 +0100 |
commit | b8b77709c05df3d820af2bfc83ff9d386bc19990 (patch) | |
tree | 68a6f739b0d9f4af62d2169340d2c3b35e30d27a /apps/files/js | |
parent | 294dcb4efffabc30fb85f50f2e01af2904b476a6 (diff) | |
download | nextcloud-server-b8b77709c05df3d820af2bfc83ff9d386bc19990.tar.gz nextcloud-server-b8b77709c05df3d820af2bfc83ff9d386bc19990.zip |
Add handler for global ajax errors
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 1a6f38d3d7c..3338d2b5827 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1427,13 +1427,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 |