mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
delete placeholder
This commit is contained in:
@@ -112,10 +112,9 @@ class CreateFile extends React.Component {
|
|||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Label for="fileName">{gettext('Name')}</Label>
|
<Label for="fileName">{gettext('Name')}</Label>
|
||||||
<Input
|
<Input
|
||||||
|
id="fileName"
|
||||||
onKeyPress={this.handleKeyPress}
|
onKeyPress={this.handleKeyPress}
|
||||||
innerRef={input => {this.newInput = input;}}
|
innerRef={input => {this.newInput = input;}}
|
||||||
id="fileName"
|
|
||||||
placeholder={gettext('new name')}
|
|
||||||
value={this.state.childName}
|
value={this.state.childName}
|
||||||
onChange={this.handleChange}
|
onChange={this.handleChange}
|
||||||
/>
|
/>
|
||||||
|
@@ -62,7 +62,6 @@ class CreateForder extends React.Component {
|
|||||||
<Label for="folderName">{gettext('Name')}</Label>
|
<Label for="folderName">{gettext('Name')}</Label>
|
||||||
<Input
|
<Input
|
||||||
id="folderName"
|
id="folderName"
|
||||||
placeholder={gettext('new name')}
|
|
||||||
value={this.state.childName}
|
value={this.state.childName}
|
||||||
innerRef={input => {this.newInput = input;}}
|
innerRef={input => {this.newInput = input;}}
|
||||||
onKeyPress={this.handleKeyPress}
|
onKeyPress={this.handleKeyPress}
|
||||||
|
Reference in New Issue
Block a user