mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Disable autocomplete_url for taglists in hooks with no sel_options
This commit is contained in:
parent
807e812f5b
commit
a66b34c8fc
@ -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