X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9eb2c5f542ed33fc1aba2e7392a5a29181cbfd1a..b02288380ea55515a15990d16547e901e438883f:/WEB-INF/templates/group_edit.tpl diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 144971b0..a8f56a2d 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -91,6 +91,14 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var workUnitsCheckbox = document.getElementById("work_units"); + configureLabel = document.getElementById("work_units_config"); + if (workUnitsCheckbox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } } @@ -239,6 +247,12 @@ function handlePluginCheckboxes() {