forked from extern/egroupware
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