mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
Disable autocomplete_url for taglists in hooks with no sel_options
This commit is contained in:
parent
78dea56bce
commit
032829a6e1
@ -394,6 +394,12 @@ class preferences_settings
|
||||
if ((string)$attrs[$n] !== '') $tpl->setElementAttribute($tab.'['.$setting['name'].']', $name, $attrs[$n]);
|
||||
}
|
||||
break;
|
||||
case 'taglist':
|
||||
if ($setting['no_sel_options'])
|
||||
{
|
||||
$tpl->setElementAttribute ($tab.'['.$setting['name'].']', 'autocomplete_url', '');
|
||||
}
|
||||
break;
|
||||
}
|
||||
// move values/options to sel_options array
|
||||
if (isset($setting['values']) && is_array($setting['values']) && !$setting['no_sel_options'])
|
||||
|
Loading…
Reference in New Issue
Block a user