fileas selector was not readonly in view

This commit is contained in:
Ralf Becker 2006-05-17 03:04:03 +00:00
parent abf67e8471
commit 956445d6f9

View File

@ -972,7 +972,7 @@ class uicontacts extends bocontacts
'to_app' => 'addressbook',
'to_id' => $content['id'],
);
$readonlys['link_to'] = $readonlys['customfields'] = true;
$readonlys['link_to'] = $readonlys['customfields'] = $readonlys['fileas_type'] = true;
$readonlys['button[save]'] = $readonlys['button[apply]'] = $readonlys['change_photo'] = true;
$readonlys['button[delete]'] = !$this->check_perms(EGW_ACL_DELETE,$content);
$readonlys['button[edit]'] = !$this->check_perms(EGW_ACL_EDIT,$content);