Skip to content
Snippets Groups Projects
Commit b0c6f990 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

use on to add event listener instead of deprecated jquery bind

parent 06870a6e
No related branches found
No related tags found
No related merge requests found
$(document).bind('ajaxSend', function(elm, xhr, s) {
$(document).on('ajaxSend',function(elm, xhr, s) {
xhr.setRequestHeader('requesttoken', oc_requesttoken);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment