fix bug where the user could enter any names in the whitelist

This commit is contained in:
Alexandre Cloutier
2014-07-09 17:26:41 -04:00
parent b5c0363400
commit ef20108e32

View File

@@ -1131,8 +1131,8 @@ function serializeAppointmentsWhiteList() {
var uid = tds.getAttribute("uid");
var value = tds.getValue();
var user = uid + "=" + value;
values.push(user);
}
if (uid != null)
values.push(user);
$("whiteListValue").value = values;
}