Skip to content

Commit

Permalink
Update the this context of gridRowContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlanciaux committed Mar 12, 2016
1 parent 3a811d0 commit 90e67ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build/Griddle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8039,7 +8039,7 @@ return /******/ (function(modules) { // webpackBootstrap
var key = that.props.rowSettings.getRowKey(row, index);

if (typeof row["children"] !== "undefined") {
var Griddle = this.constructor.Griddle;
var Griddle = that.constructor.Griddle;
return React.createElement('tr', { key: key, style: { paddingLeft: 5 } }, React.createElement('td', { colSpan: that.props.columnSettings.getVisibleColumnCount(), className: 'griddle-parent', style: that.props.useGriddleStyles ? { border: "none", "padding": "0 0 0 5px" } : null }, React.createElement(Griddle, {
rowMetadata: { key: 'id' },
isSubGriddle: true,
Expand Down Expand Up @@ -10240,14 +10240,12 @@ return /******/ (function(modules) { // webpackBootstrap
var React = __webpack_require__(2);
var ColumnProperties = __webpack_require__(6);
var deep = __webpack_require__(36);

var isFunction = __webpack_require__(40);
var fromPairs = __webpack_require__(41);
var assign = __webpack_require__(29);
var defaults = __webpack_require__(42);
var toPairs = __webpack_require__(45);
var without = __webpack_require__(33);
var _ = __webpack_require__(5);

var GridRow = React.createClass({
displayName: 'GridRow',
Expand Down
2 changes: 1 addition & 1 deletion scripts/gridRowContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var GridRowContainer = React.createClass({
var key = that.props.rowSettings.getRowKey(row, index);

if(typeof row["children"] !== "undefined"){
var Griddle = this.constructor.Griddle;
var Griddle = that.constructor.Griddle;
return (
<tr key={key} style={{paddingLeft: 5}}>
<td colSpan={that.props.columnSettings.getVisibleColumnCount()} className="griddle-parent" style={that.props.useGriddleStyles ? {border: "none", "padding": "0 0 0 5px"} : null}>
Expand Down

0 comments on commit 90e67ab

Please sign in to comment.