oc-requesttoken.js 156 B

12345
  1. $(document).on('ajaxSend',function(elm, xhr) {
  2. xhr.setRequestHeader('requesttoken', oc_requesttoken);
  3. xhr.setRequestHeader('OCS-APIREQUEST', 'true');
  4. });