Completely updated React, fixed #11, (hopefully)
This commit is contained in:
4
goTorrentWebUI/node_modules/react-bootstrap-table/lib/TableColumn.js
generated
vendored
4
goTorrentWebUI/node_modules/react-bootstrap-table/lib/TableColumn.js
generated
vendored
@@ -144,7 +144,7 @@ var TableColumn = function (_Component) {
|
||||
} catch (err) {} /* eslint no-empty: 0 */
|
||||
this.props.onEdit(this.props.rIndex + 1, e.currentTarget.cellIndex, e);
|
||||
if (this.props.cellEdit.mode !== _Const2.default.CELL_EDIT_DBCLICK) {
|
||||
this.props.onClick(this.props.rIndex + 1, e.currentTarget.cellIndex, e);
|
||||
this.props.onClick(e, this.props.rIndex + 1, e.currentTarget.cellIndex);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
@@ -155,7 +155,7 @@ var TableColumn = function (_Component) {
|
||||
rIndex = _props.rIndex;
|
||||
|
||||
if (onClick) {
|
||||
onClick(rIndex + 1, e.currentTarget.cellIndex, e);
|
||||
onClick(e, rIndex + 1, e.currentTarget.cellIndex);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
|
Reference in New Issue
Block a user