diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-21 20:24:18 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-21 20:24:18 +0100 |
commit | 8ca78fcf3f06c17707349f047d220eda43c63294 (patch) | |
tree | cb0b5c20818b8125c53b570ada469f39643aa3f0 /core/js/oc-requesttoken.js | |
parent | 5fff57339f5fa6ca6206f41a36e291e9662fe6ef (diff) | |
download | nextcloud-server-8ca78fcf3f06c17707349f047d220eda43c63294.tar.gz nextcloud-server-8ca78fcf3f06c17707349f047d220eda43c63294.zip |
Move requesttoken to oc-requesttoken.js
Diffstat (limited to 'core/js/oc-requesttoken.js')
-rw-r--r-- | core/js/oc-requesttoken.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/oc-requesttoken.js b/core/js/oc-requesttoken.js new file mode 100644 index 00000000000..f4cf286b8aa --- /dev/null +++ b/core/js/oc-requesttoken.js @@ -0,0 +1,3 @@ +$(document).bind('ajaxSend', function(elm, xhr, s) { + xhr.setRequestHeader('requesttoken', oc_requesttoken); +});
\ No newline at end of file |