mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Improve readonly handling when a link is specified
This commit is contained in:
parent
964e28a3d8
commit
346f749219
@ -153,7 +153,11 @@
|
||||
$search =& $widget->get_widget_by_name('search');
|
||||
if(($cell['readonly'] || $readonlys['search']) && $options['link']) {
|
||||
$cell['readonly'] = false;
|
||||
$readonlys['search'] = true;
|
||||
if(!is_array($readonlys)) {
|
||||
$readonlys = array('search' => true);
|
||||
} else {
|
||||
$readonlys['search'] = true;
|
||||
}
|
||||
$search['type'] = 'label';
|
||||
$search['no_lang'] = 1;
|
||||
$search['size'] = ',' . $options['link'];
|
||||
|
Loading…
Reference in New Issue
Block a user