Skip to content

Commit

Permalink
[fixed] selecting events in All Day row of week/Day views
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Sep 15, 2015
1 parent 5d2ea62 commit 98b3dad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/TimeGrid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ let TimeGrid = React.createClass({
startAccessor={this.props.startAccessor}
endAccessor={this.props.endAccessor}
allDayAccessor={this.props.allDayAccessor}
onEventClick={this.props.onEventClick}
onSelect={this._selectEvent}
slots={this._slots}
key={idx}
segments={segs}
Expand Down Expand Up @@ -189,6 +189,10 @@ let TimeGrid = React.createClass({
notify(this.props.onNavigate, [navigate.DATE, date])
},

_selectEvent(...args){
notify(this.props.onSelectEvent, args)
},

_adjustGutter() {
let header = this.refs.headerCell;
let width = this._gutterWidth
Expand Down

0 comments on commit 98b3dad

Please sign in to comment.