git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6348750
)
Make sure prefilters have been called and transport has been selected before sending...
author
jaubourg
<j@ubourg.net>
Sun, 9 Jan 2011 15:32:51 +0000
(16:32 +0100)
committer
jaubourg
<j@ubourg.net>
Sun, 9 Jan 2011 15:32:51 +0000
(16:32 +0100)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
207ef13
..
e910aa5
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-532,14
+532,14
@@
jQuery.extend({
s.data = jQuery.param( s.data , s.traditional );
}
+ // Get transport
+ transport = jQuery.ajax.prefilter( s ).transport( s );
+
// Watch for a new set of requests
if ( s.global && jQuery.active++ === 0 ) {
jQuery.event.trigger( "ajaxStart" );
}
- // Get transport
- transport = jQuery.ajax.prefilter( s ).transport( s );
-
// If no transport, we auto-abort
if ( ! transport ) {