Merge pull request #204 from creative-commoners/pulls/3.0/fix-editable-columns-js

FIX Update selector for editable columns Javascript handler to match GridField.js in core
This commit is contained in:
Daniel Hensby 2017-09-28 16:53:34 +01:00 committed by GitHub
commit ab28212d86

View File

@ -250,7 +250,7 @@
* GridFieldEditableColumns
*/
$('.ss-gridfield.ss-gridfield-editable .ss-gridfield-item td').entwine({
$('.grid-field .ss-gridfield-item').entwine({
onclick: function(e) {
// Prevent the default row click action when clicking a cell that contains a field
if (this.find('.editable-column-field').length) {