mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
Fix dead code.
This commit is contained in:
parent
8730c2ecfe
commit
c2b5a26d8f
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