WIP search stuff
This commit is contained in:
parent
00a7ea994a
commit
0bfb1416c1
2 changed files with 16 additions and 6 deletions
|
@ -63,10 +63,6 @@ module.exports = React.createClass({
|
|||
this.setState(this.getInitialState());
|
||||
},
|
||||
|
||||
onSearchClick: function() {
|
||||
this.setState({searching: true});
|
||||
},
|
||||
|
||||
onConferenceNotificationClick: function() {
|
||||
dis.dispatch({
|
||||
action: 'place_call',
|
||||
|
@ -203,7 +199,7 @@ module.exports = React.createClass({
|
|||
aux = <Loader/>;
|
||||
}
|
||||
else if (this.state.searching) {
|
||||
aux = <SearchBar onCancelClick={this.onCancelClick}/>;
|
||||
aux = <SearchBar ref="search_bar" onCancelClick={this.onCancelClick} onSearch={this.onSearch}/>;
|
||||
}
|
||||
|
||||
var conferenceCallNotification = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue