summaryrefslogtreecommitdiffstats
path: root/core/js/files/client.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-10 18:08:40 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-15 12:48:47 +0100
commitb8b77709c05df3d820af2bfc83ff9d386bc19990 (patch)
tree68a6f739b0d9f4af62d2169340d2c3b35e30d27a /core/js/files/client.js
parent294dcb4efffabc30fb85f50f2e01af2904b476a6 (diff)
downloadnextcloud-server-b8b77709c05df3d820af2bfc83ff9d386bc19990.tar.gz
nextcloud-server-b8b77709c05df3d820af2bfc83ff9d386bc19990.zip
Add handler for global ajax errors
Diffstat (limited to 'core/js/files/client.js')
-rw-r--r--core/js/files/client.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 55a8e2c485a..6797ba84e7f 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -137,6 +137,8 @@
});
return result;
};
+
+ OC.registerXHRForErrorProcessing(xhr);
return xhr;
},