mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 15:05:38 +00:00
Fixed regression introduced in fae85f04c134d5acfa4831aaf2b10bc1d4e40157 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…
x
Reference in New Issue
Block a user