Spaces :(

This commit is contained in:
Squidly271
2020-10-11 13:22:31 -04:00
committed by GitHub
parent 189a3ba02c
commit 48a79f390e
+1 -1
View File
@@ -57,7 +57,7 @@ function showPassword() {
function checkUsername(form) {
var username = form.userName.value.trim();
if (!username.match('^[a-z_][a-z0-9_-]*[$]?$')) {
$('input[name="cmdUserEdit"]').val("_(Add)_");
$('input[name="cmdUserEdit"]').val("_(Add)_");
swal({title:"_(Invalid user name)_",text:"_(Use only lowercase letters, digits, underscores and dashes)_",type:"error",html:true,confirmButtonText:"_(Ok)_"});
return false;