MINOR Using two_state checkboxes in TreeDropdownField.js (to allow individual node selection without enforcing children selection)

This commit is contained in:
Ingo Schommer 2012-03-08 01:27:25 +01:00
parent 3916e33c39
commit 8afb8672f7

View File

@ -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;