mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix bug where extra private cf widgets were read-only
This commit is contained in:
parent
bf1bd63110
commit
b193bb0692
@ -2354,10 +2354,6 @@ window.egw_LAB.wait(function() {
|
||||
{
|
||||
$content['private_cfs']['#'.$name] = $content['#'.$name];
|
||||
}
|
||||
else if ($cf['private'])
|
||||
{
|
||||
$readonlys['private_cfs']['#'.$name] = true;
|
||||
}
|
||||
}
|
||||
|
||||
// how to display addresses
|
||||
@ -2416,7 +2412,7 @@ window.egw_LAB.wait(function() {
|
||||
// disable not needed tabs
|
||||
$readonlys['tabs']['cats'] = !($content['cat_tab'] = $this->config['cat_tab']);
|
||||
$readonlys['tabs']['custom'] = !$this->customfields || $this->get_backend($content['id'],$content['owner']) == $this->so_accounts;
|
||||
$readonlys['tabs']['custom_private'] = $readonlys['tabs']['custom'] || !$this->config['private_cf_tab'] ? '__ALL__' : false;
|
||||
$readonlys['tabs']['custom_private'] = $readonlys['tabs']['custom'] || !$this->config['private_cf_tab'];
|
||||
$readonlys['tabs']['distribution_list'] = !$content['distrib_lists'];#false;
|
||||
$readonlys['tabs']['history'] = $this->contact_repository != 'sql' || !$content['id'] ||
|
||||
$this->account_repository != 'sql' && $content['account_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user