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:
commit
7af4e0912e
@ -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={{
|
||||||
|
@ -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;
|
||||||
|
@ -61,7 +61,7 @@ let constants = {
|
|||||||
'validation': {
|
'validation': {
|
||||||
'additionalData': {
|
'additionalData': {
|
||||||
'itemLimit': 100,
|
'itemLimit': 100,
|
||||||
'sizeLimit': '50000000'
|
'sizeLimit': '25000000000'
|
||||||
},
|
},
|
||||||
'registerWork': {
|
'registerWork': {
|
||||||
'itemLimit': 1,
|
'itemLimit': 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user