X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fuser_add.tpl;h=0741dc3e9f873af30fbb2adf016c58a2aec47c4d;hb=fc8a4455218bc71e17697f33c111b9dbc55f8047;hp=762f0528e481c873bba9587129b5539efa2f9c76;hpb=d374f7228d4ece31f60028d798f6dbdef78f7925;p=timetracker.git diff --git a/WEB-INF/templates/user_add.tpl b/WEB-INF/templates/user_add.tpl index 762f0528..0741dc3e 100644 --- a/WEB-INF/templates/user_add.tpl +++ b/WEB-INF/templates/user_add.tpl @@ -40,8 +40,10 @@ function handleClientControl() { var isClient = roles[i][1]; if (isClient == 1) clientControl.style.visibility = "visible"; - else + else { + clientControl.value = ''; clientControl.style.visibility = "hidden"; + } break; } } @@ -81,15 +83,23 @@ function handleClientControl() {