Display parent folder selector more often
This commit is contained in:
parent
1b9a25e84d
commit
fdee0e452f
1 changed files with 12 additions and 12 deletions
|
@ -157,7 +157,8 @@ class kolab_addressbook_ui
|
|||
|
||||
if (strlen($path_imap)) {
|
||||
$path = rcube_charset_convert($path_imap, 'UTF7-IMAP');
|
||||
// @TODO: $options
|
||||
}
|
||||
|
||||
if (!empty($options) && ($options['norename'] || $options['namespace'] != 'personal')) {
|
||||
// prevent user from moving folder
|
||||
$hidden_fields[] = array('name' => '_parent', 'value' => $path_imap);
|
||||
|
@ -170,7 +171,6 @@ class kolab_addressbook_ui
|
|||
'value' => $select->show($path_imap),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Allow plugins to modify address book form content (e.g. with ACL form)
|
||||
$plugin = $this->rc->plugins->exec_hook('addressbook_form',
|
||||
|
|
Loading…
Add table
Reference in a new issue