forked from extern/egroupware
Avoid server side exception by only looking for user IDs that are numeric
This commit is contained in:
parent
9b70d4bb50
commit
f9fd54dd7d
@ -263,7 +263,8 @@ var et2_selectAccount = (function(){ "use strict"; return et2_selectbox.extend(
|
||||
}
|
||||
if(this.options.select_options[i].value == search[j]) found = true;
|
||||
}
|
||||
if(!found)
|
||||
// We only look for numeric IDs, non-numeric IDs cause an exception
|
||||
if(!found && !isNaN(search[j]))
|
||||
{
|
||||
// Add it in
|
||||
var name = this.egw().link_title('home-accounts', search[j]);
|
||||
|
Loading…
Reference in New Issue
Block a user