1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Merged in AD-972-remove-50mb-limit-in-additional-f (pull request #98)

Ad 972 remove 50mb limit in additional f
This commit is contained in:
TimDaubenschuetz 2015-10-13 16:42:04 +02:00
commit 7af4e0912e
3 changed files with 7 additions and 7 deletions

View File

@ -43,7 +43,7 @@ let FurtherDetailsFileuploader = React.createClass({
return ( return (
<Property <Property
label="Additional files (max. 50MB per file)"> label="Additional files">
<ReactS3FineUploader <ReactS3FineUploader
uploadStarted={this.props.uploadStarted} uploadStarted={this.props.uploadStarted}
keyRoutine={{ keyRoutine={{

View File

@ -35,17 +35,17 @@ let CylandAdditionalDataForm = React.createClass({
}; };
}, },
handleSuccess() {
let notification = new GlobalNotificationModel('Further details successfully updated', 'success', 10000);
GlobalNotificationActions.appendGlobalNotification(notification);
},
getInitialState() { getInitialState() {
return { return {
isUploadReady: true isUploadReady: true
}; };
}, },
handleSuccess() {
let notification = new GlobalNotificationModel(getLangText('Further details successfully updated'), 'success', 10000);
GlobalNotificationActions.appendGlobalNotification(notification);
},
getFormData() { getFormData() {
let extradata = {}; let extradata = {};
let formRefs = this.refs.form.refs; let formRefs = this.refs.form.refs;

View File

@ -61,7 +61,7 @@ let constants = {
'validation': { 'validation': {
'additionalData': { 'additionalData': {
'itemLimit': 100, 'itemLimit': 100,
'sizeLimit': '50000000' 'sizeLimit': '25000000000'
}, },
'registerWork': { 'registerWork': {
'itemLimit': 1, 'itemLimit': 1,