mirror of
https://github.com/nextcloud/server.git
synced 2024-08-26 05:54:48 +02:00
Merge pull request #4707 from owncloud/use_on_instead_of_deprecated_bind
use on to add event listener instead of deprecated jquery bind
This commit is contained in:
commit
c2eaf7589d
@ -1,3 +1,4 @@
|
||||
$(document).bind('ajaxSend', function(elm, xhr, s) {
|
||||
$(document).on('ajaxSend',function(elm, xhr, s) {
|
||||
xhr.setRequestHeader('requesttoken', oc_requesttoken);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user