fix up scroll behaviour when loading widgets
This commit is contained in:
parent
62d04c38ef
commit
4388334e30
8 changed files with 55 additions and 44 deletions
|
@ -32,7 +32,7 @@ module.exports = React.createClass({
|
|||
// href for the highlights in this result
|
||||
resultLink: React.PropTypes.string,
|
||||
|
||||
onImageLoad: React.PropTypes.func,
|
||||
onWidgetLoad: React.PropTypes.func,
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
|||
if (EventTile.haveTileForEvent(ev)) {
|
||||
ret.push(<EventTile key={eventId+"+"+j} mxEvent={ev} contextual={contextual} highlights={highlights}
|
||||
highlightLink={this.props.resultLink}
|
||||
onImageLoad={this.props.onImageLoad} />);
|
||||
onWidgetLoad={this.props.onWidgetLoad} />);
|
||||
}
|
||||
}
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue