mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
9950fa362e
commit
82db28811d
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user