server/core/js/oc-requesttoken.js

5 lines
111 B
JavaScript
Raw Normal View History

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