Permalink
Browse files

BUGFIX Show progress indicator when uploads are added to AssetUploadF…

…ield, to ensure that failed uploads (e.g. exceeding max filesize) can actually show their error message to the user
  • Loading branch information...
1 parent 9950fa3 commit 82db28811d39307f16237fb9cd8da4296733ade9 @chillu chillu committed May 9, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 javascript/AssetUploadField.js
@@ -6,6 +6,9 @@
// Hide the "second step" part until we're actually uploading
this.find('.ss-uploadfield-editandorganize').hide();
},
+ onfileuploadadd: function(e) {
+ this.find('.ss-uploadfield-editandorganize').show();
+ },
onfileuploadstart: function(e) {
this.find('.ss-uploadfield-editandorganize').show();
}

0 comments on commit 82db288

Please sign in to comment.