mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-15 02:42:30 +02:00
Et2SelectAccount improvements
- Fix always including all accounts - Limit included accounts to 100 to avoid breaking - Let repeat() cache - Improved "more results" count - Reduce repeats & iteration needed
This commit is contained in:
@ -117,7 +117,7 @@ egw.extend('user', egw.MODULE_GLOBAL, function()
|
||||
{
|
||||
if (typeof data[t] === "object")
|
||||
{
|
||||
accountStore[t] = jQuery.extend(true, [], data[t] || []);
|
||||
accountStore[t] = (Array.isArray(data[t]) ? data[t]:Object.values(data[t]) ?? []).map(a => {a.value = ""+a.value; return a});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user