MINOR Don't double-trigger 'stop' event in UploadField.js (regression from d642eee2, fixes #7355)

This commit is contained in:
Ingo Schommer 2012-05-20 13:36:11 +02:00
parent 0cbb1b11e3
commit bb72037de1

View File

@ -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();
}