forked from extern/egroupware
set correct default search-url for taglist-email
This commit is contained in:
parent
1deeee207f
commit
a9f8e6fcd5
@ -228,11 +228,8 @@ function send_template()
|
||||
$attrs['editModeEnabled'] = 'true';
|
||||
}
|
||||
}
|
||||
if(isset($attrs['autocomplete_url']))
|
||||
{
|
||||
$attrs['searchUrl'] = $attrs['autocomplete_url'];
|
||||
}
|
||||
|
||||
$attrs['searchUrl'] = $attrs['autocomplete_url'] ?? 'EGroupware\\Api\\Etemplate\\Widget\\Taglist::'.
|
||||
($matches[2] === '-email' ? 'ajax_email' : 'ajax_search');
|
||||
if (isset($attrs['autocomplete_params']))
|
||||
{
|
||||
$attrs['searchOptions'] = $attrs['autocomplete_params'];
|
||||
|
Loading…
Reference in New Issue
Block a user