mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge pull request #235 from DrMartinGonzo/patch-1
Fix stopPropagation on click if no GridFieldEditableColumns
This commit is contained in:
commit
f540f247bb
@ -250,7 +250,7 @@
|
|||||||
* GridFieldEditableColumns
|
* GridFieldEditableColumns
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$('.grid-field .ss-gridfield-item').entwine({
|
$('.ss-gridfield-editable .ss-gridfield-item').entwine({
|
||||||
onclick: function(e) {
|
onclick: function(e) {
|
||||||
// Prevent the default row click action when clicking a cell that contains a field
|
// Prevent the default row click action when clicking a cell that contains a field
|
||||||
if (this.find('.editable-column-field').length) {
|
if (this.find('.editable-column-field').length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user