Skip to content
Permalink
Browse files

Closes #2688

  • Loading branch information
wycats committed Apr 14, 2008
1 parent 1ba2865 commit a9fe9a2a5f935fc79610d952b68d592f5cfd9ff8
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/ajax.js
@@ -292,8 +292,11 @@ jQuery.extend({

// Allow custom headers/mimetypes
if ( s.beforeSend )
s.beforeSend(xml);
var beforeSendSuccess = s.beforeSend(xml, s);

if( beforeSendSuccess === false )
return false;

if ( s.global )
jQuery.event.trigger("ajaxSend", [xml, s]);

0 comments on commit a9fe9a2

Please sign in to comment.
You can’t perform that action at this time.