mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
fix fineuploader notification bug
This commit is contained in:
parent
96fe1c69c6
commit
c14ab4dcd4
@ -430,7 +430,7 @@ var ReactS3FineUploader = React.createClass({
|
||||
this.state.uploader.cancelAll();
|
||||
|
||||
let fileSizeInMegaBytes = this.props.validation.sizeLimit / 1000000;
|
||||
let notification = new GlobalNotificationModel(getLangText('Your file is bigger than %d MB', fileSizeInMegaBytes), 'danger', 5000);
|
||||
let notification = new GlobalNotificationModel(getLangText('Your file is bigger than ' + fileSizeInMegaBytes + 'MB.'), 'danger', 5000);
|
||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user