]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/templates/user_edit.tpl
Improved JavaScript for better handling of non-client users.
[timetracker.git] / WEB-INF / templates / user_edit.tpl
index 7475c6efb4ec8174138f3398bfb12511630b0bf3..32947545d968e7588b1ba1047c6746c6e63cc1fe 100644 (file)
@@ -62,8 +62,10 @@ function handleClientControl() {
       var isClient = roles[i][1];
       if (isClient == 1)
         clientControl.style.visibility = "visible";
-      else
+      else {
+        clientControl.value = '';
         clientControl.style.visibility = "hidden";
+      }
       break;
     }
   }