Commit 5a55ce55 authored by Romain Therville's avatar Romain Therville 🐭

Tiny update

I removed a useless "parseInt()".

issue #170
parent 20387d52
......@@ -903,7 +903,7 @@ $(function () {
if (val == 1) {
// user has already access to this project
$("#error_message").html($("#username_val").val() + ' has already access to this project!').show();
} else if (val == 4 || parseInt(val) == 3) {
} else if (val == 4 || val == 3) {
// username exists in database cannot create
$("#error_message").html('Cannot create this user account, ' + $("#username_val").val() + ' already exists!').show();
} else if (val == 5) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment