categories.js revision 9a5360667a7e96650e4f0c7eab49f42d03260bd4
$(function () {
$(".selector").jstree({
"plugins" : [ "search", "themes", "html_data", "checkbox", "sort", "ui" ],
"checkbox": {
real_checkboxes: true,
real_checkboxes_names: function (n) { return [("category_ids[" + n[0].id + "]"), 1]; },
two_state: true
},
"themes": {
theme: "classic",
icons: false
}
});
});