X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=db66201c57cbef885f14a2618e8ff1ab0e1ceb77;hb=c5c7ed2be4f41e34e63ee90158f499a6f76a76c1;hp=cec44974267196ff9abf29fc599cb1ddc38c3727;hpb=95d4442c1517b0d9e76081fd901a600e45e9fbea;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index cec44974..db66201c 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"; + } } @@ -205,7 +213,7 @@ function handlePluginCheckboxes() {