Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -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);
}
}
}, {