server/core/js/oc-requesttoken.js
2013-01-21 20:24:18 +01:00

3 lines
No EOL
112 B
JavaScript

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