Skip to content

Commit

Permalink
BUGFIX Show progress indicator when uploads are added to AssetUploadF…
Browse files Browse the repository at this point in the history
…ield, to ensure that failed uploads (e.g. exceeding max filesize) can actually show their error message to the user
  • Loading branch information
chillu committed May 9, 2012
1 parent 9950fa3 commit 82db288
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions javascript/AssetUploadField.js
Expand Up @@ -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();
}
Expand Down

0 comments on commit 82db288

Please sign in to comment.