Example #1
0
 setActiveTab: function (tab) {
   AppDispatcher.dispatch({
     actionType: AppConstants.SET_ACTIVE_TAB,
     data: tab
   });
   SessionAPI.updateSessionInfo({'active_tab': tab});
 }
 toggleComplaint: function (e) {
   this.setState({hasShown: true});
   ComplaintListActions.toggleComplaint(this.props.complaint['officer_allegation']['id']);
   SessionAPI.updateSessionInfo({ query: { activeComplaints: this.state.activeComplaints }});
 }