1
0
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:
Tim Daubenschütz 2015-08-24 13:12:59 +02:00
parent 96fe1c69c6
commit c14ab4dcd4

View File

@ -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);
}
},