Permalink
Browse files

MINOR Don't double-trigger 'stop' event in UploadField.js (regression…

… from d642eee, fixes #7355)
  • Loading branch information...
1 parent 0cbb1b1 commit bb72037de1d8056fb82e6160e91f4e08de460a6e @chillu chillu committed May 20, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 javascript/UploadField.js
@@ -50,7 +50,6 @@
_onAlways: function (jqXHRorResult, textStatus, jqXHRorError, options) {
$.blueimpUI.fileupload.prototype._onAlways.call(this, jqXHRorResult, textStatus, jqXHRorError, options);
if (this._active === 0) {
- this._trigger('stop');
$('.fileOverview .uploadStatus .state').text(ss.i18n._t('AssetUploadField.FILEUPLOADCOMPLETED', 'File Upload Completed!'));//.hide();
$('.fileOverview button').show();
}

0 comments on commit bb72037

Please sign in to comment.