BUGFIX Show progress indicator when uploads are added to AssetUploadField, to ensure that failed uploads (e.g. exceeding max filesize) can actually show their error message to the user

This commit is contained in:
Ingo Schommer 2012-05-09 11:19:06 +02:00
parent 9950fa362e
commit 82db28811d

View File

@ -6,6 +6,9 @@
// Hide the "second step" part until we're actually uploading // Hide the "second step" part until we're actually uploading
this.find('.ss-uploadfield-editandorganize').hide(); this.find('.ss-uploadfield-editandorganize').hide();
}, },
onfileuploadadd: function(e) {
this.find('.ss-uploadfield-editandorganize').show();
},
onfileuploadstart: function(e) { onfileuploadstart: function(e) {
this.find('.ss-uploadfield-editandorganize').show(); this.find('.ss-uploadfield-editandorganize').show();
} }