Skip to content

Commit

Permalink
Fix errors when hovering action column header (#16554)
Browse files Browse the repository at this point in the history
Backport of PR #16484 for 3.0.5.

---------

Co-authored-by: Jason Coward <[email protected]>
  • Loading branch information
smg6511 and opengeek authored Apr 5, 2024
1 parent dc3aa33 commit 2451874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manager/assets/modext/modx.jsgrps-min.js

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions manager/assets/modext/widgets/core/modx.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ MODx.grid.Grid = function(config) {
}

config.columns.push({
width: config.actionsColumnWidth || defaultActionsColumnWidth
,menuDisabled: true
,renderer: this.actionsColumnRenderer.bind(this)
id: 'modx-actions',
width: config.actionsColumnWidth || defaultActionsColumnWidth,
menuDisabled: true,
renderer: this.actionsColumnRenderer.bind(this)
});
}

Expand All @@ -130,9 +131,10 @@ MODx.grid.Grid = function(config) {
}

config.cm.columns.push({
width: config.actionsColumnWidth || defaultActionsColumnWidth
,menuDisabled: true
,renderer: this.actionsColumnRenderer.bind(this)
id: 'modx-actions',
width: config.actionsColumnWidth || defaultActionsColumnWidth,
menuDisabled: true,
renderer: this.actionsColumnRenderer.bind(this)
});
}
}
Expand Down

0 comments on commit 2451874

Please sign in to comment.