server/core/js/oc-requesttoken.js
2013-09-03 13:12:19 +02:00

4 lines
111 B
JavaScript

$(document).on('ajaxSend',function(elm, xhr, s) {
xhr.setRequestHeader('requesttoken', oc_requesttoken);
});