mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Fixed regression introduced in fae85f04c1
where disableSelection() was no longer optional
Disable selection is now forced when the "allow drag and drop" is checked
This commit is contained in:
parent
b21e008b94
commit
afffa5b09e
@ -67,7 +67,11 @@
|
||||
form.removeClass('loading');
|
||||
});
|
||||
}
|
||||
}).disableSelection();
|
||||
});
|
||||
|
||||
if(refCheckbox.hasClass('gridfield-sortablerows-noselection') || $(this).is(':checked')) {
|
||||
gridField.find('tbody').disableSelection();
|
||||
}
|
||||
},
|
||||
|
||||
onchange: function(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user