Bug Tracker

Ticket #5468: complete.diff

File complete.diff, 383 bytes (added by mrspeaker, 12 years ago)
  • src/ajax.js

    diff --git a/src/ajax.js b/src/ajax.js
    index 858ac4b..2257a9b 100644
    a b jQuery.extend({ 
    457457                        xhr.send( type === "POST" || type === "PUT" ? s.data : null );
    458458                } catch(e) {
    459459                        jQuery.handleError(s, xhr, null, e);
     460                        // Fire the complete handlers
     461                        complete();
    460462                }
    461463
    462464                // firefox 1.5 doesn't fire statechange for sync requests