mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
Fix dead code.
This commit is contained in:
parent
0dd0c614a4
commit
5df604e792
1 changed files with 0 additions and 4 deletions
|
@ -120,17 +120,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
onNodeChecked(node) {
|
onNodeChecked(node) {
|
||||||
if ("checkbox_value" in node.data) {
|
if ("checkbox_value" in node.data) {
|
||||||
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
|
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
|
||||||
console.log(selector);
|
|
||||||
document.querySelector(selector).checked=true;
|
document.querySelector(selector).checked=true;
|
||||||
// document.getElementById(node.data.checkbox_id).checked=true;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onNodeUnchecked(node) {
|
onNodeUnchecked(node) {
|
||||||
if ("checkbox_value" in node.data) {
|
if ("checkbox_value" in node.data) {
|
||||||
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
|
var selector = '#id_ListRight-permissions input[value="'.concat(node.data.checkbox_value, '"]');
|
||||||
console.log(selector);
|
|
||||||
document.querySelector(selector).checked=false;
|
document.querySelector(selector).checked=false;
|
||||||
// document.getElementById(node.data.checkbox_id).checked=false;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue