Applied patch by Sven Geuer for the bugs he reported
* Fixes #23, #24, #25, #26
This commit is contained in:
parent
120577d003
commit
d2bd1b0ef0
3 changed files with 18 additions and 9 deletions
|
@ -102,7 +102,7 @@ function displayusereditor(title, userid, username, firstname, lastname, groups)
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (!this.groups.value.match(/^([0-9a-zA-z]+[,\s]*)+$/)) {
|
||||
if (!this.groups.value.match(/^[0-9a-zA-z]+(\s*,\s*[0-9a-zA-z]+)*$/)) {
|
||||
alert(intl.translate("The groups field has to be a comma separated list of group names which must consist of letters or digits!"));
|
||||
this.groups.focus();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue