X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=4967259e0bb8109e4864a661ed14f6b0398c2390;hb=62e316ec456ef2a98acee48dad2f305e7fb0c4b0;hp=6e3b81ebb1a0b03252b055bf610066b9933ba259;hpb=f2787a0b448c84ee7b28de80f6c2f04dfc7985ad;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 6e3b81eb..4967259e 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -81,6 +81,14 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var weekViewCheckbox = document.getElementById("week_view"); + configureLabel = document.getElementById("week_view_config"); + if (weekViewCheckbox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } } @@ -229,12 +237,10 @@ function handlePluginCheckboxes() {