X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fuser_add.tpl;h=0741dc3e9f873af30fbb2adf016c58a2aec47c4d;hb=fc8a4455218bc71e17697f33c111b9dbc55f8047;hp=d9452cc8be2e6ecf28c653a2f91cb9e4e450e31c;hpb=fe40891a4ad16b5b70d518e8b5b2596267b684f9;p=timetracker.git diff --git a/WEB-INF/templates/user_add.tpl b/WEB-INF/templates/user_add.tpl index d9452cc8..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; } } @@ -73,25 +75,31 @@ function handleClientControl() {