nextcloud/core/js/oc-requesttoken.js

3 lines
106 B
JavaScript
Raw Normal View History

2014-04-21 16:42:50 +04:00
$(document).on('ajaxSend',function(elm, xhr) {
xhr.setRequestHeader('requesttoken', oc_requesttoken);
2014-04-21 16:42:50 +04:00
});