From 5df604e792ef0444db25beb699b4174ff88087e8 Mon Sep 17 00:00:00 2001 From: Hugo Levy-Falk Date: Tue, 21 Apr 2020 18:17:47 +0200 Subject: [PATCH] Fix dead code. --- users/templates/users/edit_listright.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/users/templates/users/edit_listright.html b/users/templates/users/edit_listright.html index 00eb62c8..d07b31bf 100644 --- a/users/templates/users/edit_listright.html +++ b/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; } }, }