Merge pull request #235 from DrMartinGonzo/patch-1

Fix stopPropagation on click if no GridFieldEditableColumns
This commit is contained in:
Robbie Averill 2018-01-26 11:54:36 +13:00 committed by GitHub
commit f540f247bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@
* GridFieldEditableColumns
*/
$('.grid-field .ss-gridfield-item').entwine({
$('.ss-gridfield-editable .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) {