forked from extern/egroupware
Do not add taglist emails one by one, add them all in one, as the rendering process in magicsuggest would be very resource consuming
This commit is contained in:
parent
abd6800a89
commit
4ea0638267
@ -556,10 +556,13 @@ var et2_taglist_email = et2_taglist.extend(
|
||||
var taglist = this.taglist;
|
||||
window.setTimeout(function()
|
||||
{
|
||||
var items = [];
|
||||
for(var i=0; i < parts.length; ++i)
|
||||
{
|
||||
taglist.addToSelection({id: parts[i], label: parts[i]});
|
||||
items.push({id: parts[i], label: parts[i]});
|
||||
|
||||
}
|
||||
taglist.addToSelection(items);
|
||||
}, 10);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user