Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Using two_state checkboxes in TreeDropdownField.js (to allow in…

…dividual node selection without enforcing children selection)
  • Loading branch information...
commit 8afb8672f738efd9bbd65c8bf6ed209fc3898362 1 parent 3916e33
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/TreeDropdownField.js
View
2  javascript/TreeDropdownField.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.