server/core/js/oc-requesttoken.js

3 lines
112 B
JavaScript
Raw Normal View History

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