mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 19:08:21 +00:00
[sdoc] commented out 'draft' related code (#5723)
This commit is contained in:
@@ -165,14 +165,14 @@ class CreateFile extends React.Component {
|
||||
</Label>
|
||||
</FormGroup>
|
||||
)}
|
||||
{this.props.fileType == '.sdoc' && (
|
||||
{/*this.props.fileType == '.sdoc' && (
|
||||
<FormGroup check>
|
||||
<Label check>
|
||||
<Input type="checkbox" checked={isSdocDraft} onChange={this.toggleMarkSdocDraft}/>
|
||||
<span>{gettext('Mark as draft')}</span>
|
||||
</Label>
|
||||
</FormGroup>
|
||||
)}
|
||||
)*/}
|
||||
</Form>
|
||||
{this.state.errMessage && <Alert color="danger" className="mt-2">{this.state.errMessage}</Alert>}
|
||||
</ModalBody>
|
||||
|
Reference in New Issue
Block a user