1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02:00

increase otherdata limit to 50MB

This commit is contained in:
diminator 2015-08-24 12:11:07 +02:00
parent 440dcd9785
commit 411b7cb010
3 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ let FurtherDetailsFileuploader = React.createClass({
return ( return (
<Property <Property
label="Additional files (max. 10MB)"> label="Additional files (max. 50MB per file)">
<ReactS3FineUploader <ReactS3FineUploader
uploadStarted={this.props.uploadStarted} uploadStarted={this.props.uploadStarted}
keyRoutine={{ keyRoutine={{
@ -57,7 +57,7 @@ let FurtherDetailsFileuploader = React.createClass({
}} }}
validation={{ validation={{
itemLimit: 100000, itemLimit: 100000,
sizeLimit: '10000000' sizeLimit: '50000000'
}} }}
submitKey={this.props.submitKey} submitKey={this.props.submitKey}
setIsUploadReady={this.props.setIsUploadReady} setIsUploadReady={this.props.setIsUploadReady}

View File

@ -270,7 +270,7 @@ let FileUploader = React.createClass({
}} }}
validation={{ validation={{
itemLimit: 100000, itemLimit: 100000,
sizeLimit: '10000000' sizeLimit: '50000000'
}} }}
session={{ session={{
endpoint: ApiUrls.ownership_loans_contract, endpoint: ApiUrls.ownership_loans_contract,

View File

@ -30,7 +30,7 @@ export function getLangText(s, ...args) {
} catch(err) { } catch(err) {
//if(!(s in languages[lang])) { //if(!(s in languages[lang])) {
//console.warn('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file. Defaulting to keyname'); //console.warn('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file. Defaulting to keyname');
return s; return formatText(s, args);
//} else { //} else {
// console.error(err); // console.error(err);
//} //}