X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=089ecead4a83fe5423f46a0c338c7ec077c8e409;hb=a94cf5b21ee9cc76ff7dda42563444011800f462;hp=d30d6ca34a28209243fe571ed7ee08b6bf3cf641;hpb=0a3f06e6606a8d6d19fb41ab0253cedd22d96b41;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index d30d6ca3..089ecead 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"; + } } @@ -142,16 +150,20 @@ function handlePluginCheckboxes() {