Skip to content

Commit

Permalink
Fixed @ not working on latest build due to...
Browse files Browse the repository at this point in the history
On latest build the @ shortcut to search for mentions was not working due to missing parameters on the onListenerChange method, due to changes done previously to post_action and search_bar that were not made to the onListenerChange method.
  • Loading branch information
prixone committed Mar 26, 2017
1 parent 720ee81 commit 6b51cdc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion webapp/components/search_bar.jsx
Expand Up @@ -75,7 +75,16 @@ export default class SearchBar extends React.Component {
this.setState(newState);
}
if (doSearch) {
this.performSearch(newState.searchTerm, isMentionSearch);
performSearch(
newState.searchTerm,
isMentionSearch,
() => {
this.handleSearchOnSuccess();
},
() => {
this.handleSearchOnError();
}
);
}
}
}
Expand Down

0 comments on commit 6b51cdc

Please sign in to comment.