WIP search stuff

This commit is contained in:
Matthew Hodgson 2015-10-28 19:39:45 +00:00
parent 00a7ea994a
commit 0bfb1416c1
2 changed files with 16 additions and 6 deletions

View file

@ -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;