code: function (e) {
                  var that = $(this).data('blueimp-fileupload') ||
                          $(this).data('fileupload'),
                      deferred = that._addFinishedDeferreds();
                  $.when.apply($, that._getFinishedDeferreds())
                      .done(function () {
                          that._trigger('stopped', e);
                      });
                  that._transition($(this).find('.fileupload-progress')).done(
                      function () {
                          $(this).find('.progress')
                              .attr('aria-valuenow', '0')
                              .find('.bar').css('width', '0%');
                          $(this).find('.progress-extended').html('&nbsp;');
                          deferred.resolve();
                      }
                  );
              }
docs: Callback for uploads stop, equivalent to the global ajaxStop event: