8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Fix dead code.

This commit is contained in:
Hugo Levy-Falk 2020-04-21 18:17:47 +02:00 committed by Gabriel Detraz
parent 8730c2ecfe
commit c2b5a26d8f

View file

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