mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Update cyland for FineUploader changes
This commit is contained in:
parent
1e328b722b
commit
a513af984d
@ -33,7 +33,6 @@ import { mergeOptions } from '../../../../../../utils/general_utils';
|
|||||||
|
|
||||||
let CylandPieceContainer = React.createClass({
|
let CylandPieceContainer = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
location: React.PropTypes.object,
|
|
||||||
params: React.PropTypes.object
|
params: React.PropTypes.object
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -107,8 +106,7 @@ let CylandPieceContainer = React.createClass({
|
|||||||
<CylandAdditionalDataForm
|
<CylandAdditionalDataForm
|
||||||
piece={this.state.piece}
|
piece={this.state.piece}
|
||||||
disabled={!this.state.piece.acl.acl_edit}
|
disabled={!this.state.piece.acl.acl_edit}
|
||||||
isInline={true}
|
isInline={true} />
|
||||||
location={this.props.location}/>
|
|
||||||
</CollapsibleParagraph>
|
</CollapsibleParagraph>
|
||||||
</WalletPieceContainer>
|
</WalletPieceContainer>
|
||||||
);
|
);
|
||||||
|
@ -26,8 +26,7 @@ let CylandAdditionalDataForm = React.createClass({
|
|||||||
handleSuccess: React.PropTypes.func,
|
handleSuccess: React.PropTypes.func,
|
||||||
piece: React.PropTypes.object.isRequired,
|
piece: React.PropTypes.object.isRequired,
|
||||||
disabled: React.PropTypes.bool,
|
disabled: React.PropTypes.bool,
|
||||||
isInline: React.PropTypes.bool,
|
isInline: React.PropTypes.bool
|
||||||
location: React.PropTypes.object
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getDefaultProps() {
|
getDefaultProps() {
|
||||||
@ -143,8 +142,7 @@ let CylandAdditionalDataForm = React.createClass({
|
|||||||
isReadyForFormSubmission={formSubmissionValidation.fileOptional}
|
isReadyForFormSubmission={formSubmissionValidation.fileOptional}
|
||||||
pieceId={piece.id}
|
pieceId={piece.id}
|
||||||
otherData={piece.other_data}
|
otherData={piece.other_data}
|
||||||
multiple={true}
|
multiple={true} />
|
||||||
location={this.props.location}/>
|
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -157,4 +155,4 @@ let CylandAdditionalDataForm = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default CylandAdditionalDataForm;
|
export default CylandAdditionalDataForm;
|
||||||
|
@ -210,8 +210,7 @@ let CylandRegisterPiece = React.createClass({
|
|||||||
<CylandAdditionalDataForm
|
<CylandAdditionalDataForm
|
||||||
disabled={this.state.step > 1}
|
disabled={this.state.step > 1}
|
||||||
handleSuccess={this.handleAdditionalDataSuccess}
|
handleSuccess={this.handleAdditionalDataSuccess}
|
||||||
piece={this.state.piece}
|
piece={this.state.piece} />
|
||||||
location={this.props.location}/>
|
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user