Skip to content

Commit

Permalink
Merge pull request #235 from DrMartinGonzo/patch-1
Browse files Browse the repository at this point in the history
Fix stopPropagation on click if no GridFieldEditableColumns
  • Loading branch information
robbieaverill authored Jan 25, 2018
2 parents 14c0080 + 30a4f34 commit f540f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/GridFieldExtensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f540f24

Please sign in to comment.