mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Using two_state checkboxes in TreeDropdownField.js (to allow individual node selection without enforcing children selection)
This commit is contained in:
parent
3916e33c39
commit
8afb8672f7
@ -306,7 +306,7 @@
|
||||
$('.TreeDropdownField.multiple').entwine({
|
||||
getTreeConfig: function() {
|
||||
var cfg = this._super();
|
||||
cfg.checkbox = {override_ui: true};
|
||||
cfg.checkbox = {override_ui: true, two_state: true};
|
||||
cfg.plugins.push('checkbox');
|
||||
cfg.ui.select_limit = -1;
|
||||
return cfg;
|
||||
|
Loading…
Reference in New Issue
Block a user