Bug Fixing
This commit is contained in:
parent
86f6963e84
commit
47fdaa0f84
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ function changeUsername () {
|
||||||
displayname = document.getElementById("displayname");
|
displayname = document.getElementById("displayname");
|
||||||
username = document.getElementById("username");
|
username = document.getElementById("username");
|
||||||
mail = document.getElementById("mail");
|
mail = document.getElementById("mail");
|
||||||
mail.value = username.value + "@{{ .NewUserDefaultDomain }}";
|
defaultdomain = document.getElementById("defaultdomain");
|
||||||
|
mail.value = username.value + "@" + defaultdomain.value;
|
||||||
}
|
}
|
||||||
document.getElementById("givenname").addEventListener("change",changeGivenNameOrSurname);
|
document.getElementById("givenname").addEventListener("change",changeGivenNameOrSurname);
|
||||||
document.getElementById("surname").addEventListener("change",changeGivenNameOrSurname);
|
document.getElementById("surname").addEventListener("change",changeGivenNameOrSurname);
|
||||||
|
|
Loading…
Reference in a new issue