git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #1905 bug where in IE the use of RegExp.test() was failing and needed to be repla...
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
f401c85
..
225165a
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-179,7
+179,7
@@
jQuery.extend({
// Replace the =? sequence both in the query string and the data
if ( s.data )
// Replace the =? sequence both in the query string and the data
if ( s.data )
- s.data = s.data.replace(jsre, "=" + jsonp);
+ s.data = (s.data + "").replace(jsre, "=" + jsonp);
s.url = s.url.replace(jsre, "=" + jsonp);
// We need to make sure
s.url = s.url.replace(jsre, "=" + jsonp);
// We need to make sure
@@
-223,7
+223,7
@@
jQuery.extend({
script.src = s.url;
// Handle Script loading
script.src = s.url;
// Handle Script loading
- if ( !jsonp && (s.success || s.complete) ) {
+ if ( !jsonp ) {
var done = false;
// Attach handlers for all browsers
var done = false;
// Attach handlers for all browsers