[web] fix shortcut for header fields
This commit is contained in:
parent
f306cfa8b6
commit
e24bf8d73f
File diff suppressed because one or more lines are too long
|
@ -134,7 +134,7 @@ class ProxyAppMain extends Component {
|
|||
|
||||
if (name) {
|
||||
const headerComponent = this.refs.header
|
||||
headerComponent.setState({active: MainMenu}, function () {
|
||||
headerComponent.setState({ active: MainMenu }, () => {
|
||||
headerComponent.refs.active.refs[name].select()
|
||||
})
|
||||
}
|
||||
|
|
|
@ -442,6 +442,7 @@ export var Header = React.createClass({
|
|||
</nav>
|
||||
<div className="menu">
|
||||
<this.state.active
|
||||
ref="active"
|
||||
settings={this.props.settings}
|
||||
updateLocation={this.props.updateLocation}
|
||||
query={this.props.query}
|
||||
|
|
Loading…
Reference in New Issue