oc-requesttoken.js 156 B

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