server/core/js/oc-requesttoken.js
2013-08-18 11:06:59 +02:00

3 lines
113 B
JavaScript

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