delete settings.url when pulling it out

This commit is contained in:
Min RK 2017-04-19 14:05:50 +02:00
parent 25c4ff33e4
commit 76c6617b28

View File

@ -777,6 +777,7 @@ define([
// called with single argument: $.ajax({url: '...'})
settings = url;
url = settings.url;
delete settings.url;
}
settings = _add_auth_header(settings);
return $.ajax(url, settings);