Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer searches for %3F in url or data to find jsonp callback placeholders.

This commit is contained in:
jaubourg 2011-01-26 00:55:39 +01:00
parent 5ca8f0617f
commit 325dcdc2ab
2 changed files with 3 additions and 20 deletions

View file

@ -1,7 +1,7 @@
(function( jQuery ) {
var jsc = jQuery.now(),
jsre = /(\=)(?:\?|%3F)(&|$)|()(?:\?\?|%3F%3F)()/i;
jsre = /(\=)\?(&|$)|()\?\?()/i;
// Default jsonp settings
jQuery.ajaxSetup({