Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do jsonp: "callback" instead.
This commit is contained in:
parent
45e4a52cdd
commit
b721a2f472
2 changed files with 4 additions and 4 deletions
|
@ -151,7 +151,7 @@ jQuery.extend({
|
|||
lastModified: {},
|
||||
|
||||
ajax: function( s ) {
|
||||
var jsonp, jsre = /=(\?|%3F)/g, status, data;
|
||||
var jsonp, jsre = /=\?(&|$)/g, status, data;
|
||||
|
||||
// Extend the settings, but re-extend 's' so that it can be
|
||||
// checked again later (in the test suite, specifically)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue