mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +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({
|
||||
propTypes: {
|
||||
location: React.PropTypes.object,
|
||||
params: React.PropTypes.object
|
||||
},
|
||||
|
||||
@ -107,8 +106,7 @@ let CylandPieceContainer = React.createClass({
|
||||
<CylandAdditionalDataForm
|
||||
piece={this.state.piece}
|
||||
disabled={!this.state.piece.acl.acl_edit}
|
||||
isInline={true}
|
||||
location={this.props.location}/>
|
||||
isInline={true} />
|
||||
</CollapsibleParagraph>
|
||||
</WalletPieceContainer>
|
||||
);
|
||||
|
@ -26,8 +26,7 @@ let CylandAdditionalDataForm = React.createClass({
|
||||
handleSuccess: React.PropTypes.func,
|
||||
piece: React.PropTypes.object.isRequired,
|
||||
disabled: React.PropTypes.bool,
|
||||
isInline: React.PropTypes.bool,
|
||||
location: React.PropTypes.object
|
||||
isInline: React.PropTypes.bool
|
||||
},
|
||||
|
||||
getDefaultProps() {
|
||||
@ -143,8 +142,7 @@ let CylandAdditionalDataForm = React.createClass({
|
||||
isReadyForFormSubmission={formSubmissionValidation.fileOptional}
|
||||
pieceId={piece.id}
|
||||
otherData={piece.other_data}
|
||||
multiple={true}
|
||||
location={this.props.location}/>
|
||||
multiple={true} />
|
||||
</Form>
|
||||
);
|
||||
} else {
|
||||
@ -157,4 +155,4 @@ let CylandAdditionalDataForm = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
export default CylandAdditionalDataForm;
|
||||
export default CylandAdditionalDataForm;
|
||||
|
@ -210,8 +210,7 @@ let CylandRegisterPiece = React.createClass({
|
||||
<CylandAdditionalDataForm
|
||||
disabled={this.state.step > 1}
|
||||
handleSuccess={this.handleAdditionalDataSuccess}
|
||||
piece={this.state.piece}
|
||||
location={this.props.location}/>
|
||||
piece={this.state.piece} />
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user