Browse Source

Fix dead code.

release-2.9
Hugo Levy-Falk 6 years ago
committed by Gabriel Detraz
parent
commit
c2b5a26d8f
  1. 4
      users/templates/users/edit_listright.html

4
users/templates/users/edit_listright.html

@ -120,17 +120,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
onNodeChecked(node) {
if ("checkbox_value" in node.data) {
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
console.log(selector);
document.querySelector(selector).checked=true;
// document.getElementById(node.data.checkbox_id).checked=true;
}
},
onNodeUnchecked(node) {
if ("checkbox_value" in node.data) {
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
console.log(selector);
document.querySelector(selector).checked=false;
// document.getElementById(node.data.checkbox_id).checked=false;
}
},
}

Loading…
Cancel
Save