Skip to content
Snippets Groups Projects
Commit c2eaf758 authored by Christopher Schäpers's avatar Christopher Schäpers
Browse files

Merge pull request #4707 from owncloud/use_on_instead_of_deprecated_bind

use on to add event listener instead of deprecated jquery bind
parents 85758f3d b0c6f990
Branches
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