diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-11-29 03:25:07 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-11-29 03:25:07 +0100 |
commit | 096a3af273ccb309820351b466e62382f62a2c36 (patch) | |
tree | 10c76e76a77f5531466e276ac56f79b15b2a8ada /web/src/js/components/flowtable.jsx.js | |
parent | f6c0e000da504a68ecd41a8f7ce59e2f71e0a218 (diff) | |
download | mitmproxy-096a3af273ccb309820351b466e62382f62a2c36.tar.gz mitmproxy-096a3af273ccb309820351b466e62382f62a2c36.tar.bz2 mitmproxy-096a3af273ccb309820351b466e62382f62a2c36.zip |
web: various improvements
Diffstat (limited to 'web/src/js/components/flowtable.jsx.js')
-rw-r--r-- | web/src/js/components/flowtable.jsx.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/components/flowtable.jsx.js b/web/src/js/components/flowtable.jsx.js index 9eeddbaa..1a4efe89 100644 --- a/web/src/js/components/flowtable.jsx.js +++ b/web/src/js/components/flowtable.jsx.js @@ -63,12 +63,11 @@ var FlowTable = React.createClass({ rowHeight: ROW_HEIGHT }; }, - onScroll2: function () { + onScrollFlowTable: function () { this.adjustHead(); this.onScroll(); }, onChange: function () { - console.log("onChange"); this.forceUpdate(); }, scrollIntoView: function (flow) { @@ -88,12 +87,13 @@ var FlowTable = React.createClass({ />; }, render: function () { + //console.log("render flowtable", this.state.start, this.state.stop, this.props.selected); var flows = this.props.view ? this.props.view.flows : []; var rows = this.renderRows(flows); return ( - <div className="flow-table" onScroll={this.onScroll2}> + <div className="flow-table" onScroll={this.onScrollFlowTable}> <table> <FlowTableHead ref="head" columns={this.state.columns}/> |