Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$ajaxSetup beforeSend replaced by plugin #181

Open
demetris-manikas opened this issue Oct 18, 2019 · 0 comments
Open

$ajaxSetup beforeSend replaced by plugin #181

demetris-manikas opened this issue Oct 18, 2019 · 0 comments

Comments

@demetris-manikas
Copy link

demetris-manikas commented Oct 18, 2019

Hi.

I have a situation in which I want all my ajax requests to the server contain an Authorization header.
To accomplish this I have defined a beforeSend function in $ajaxSetup.

The plugin replaces the function defined in $ajaxSetup in order to clear the list and update some text.
So I have to provide a beforeSend in the ajax config.

I would appreciate any help.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant