summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_folder.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-17 08:03:07 +0000
committeralecpl <alec@alec.pl>2011-06-17 08:03:07 +0000
commit67975b99efc14e98181f659568ce9306d0a91cd1 (patch)
tree2cb1abceda181ef3eb078b576a1905da478498c7 /program/steps/settings/edit_folder.inc
parent3ddca3b945ecf36d799dfa9c772437a7dad62c5d (diff)
- Improved namespace roots handling in folder manager
Diffstat (limited to 'program/steps/settings/edit_folder.inc')
-rw-r--r--program/steps/settings/edit_folder.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc
index 0bc7ab657..093b8dfac 100644
--- a/program/steps/settings/edit_folder.inc
+++ b/program/steps/settings/edit_folder.inc
@@ -135,7 +135,7 @@ function rcmail_folder_form($attrib)
);
// Settings: threading
- if ($threading_supported && !$options['noselect']) {
+ if ($threading_supported && !$options['noselect'] && !$options['is_root']) {
$select = new html_select(array('name' => '_viewmode', 'id' => '_listmode'));
$select->add(rcube_label('list'), 0);
$select->add(rcube_label('threads'), 1);
@@ -192,7 +192,7 @@ function rcmail_folder_form($attrib)
'content' => array()
);
- if (!$options['noselect']) {
+ if (!$options['noselect'] && !$options['is_root']) {
$msgcount = $RCMAIL->imap->messagecount($mbox_imap, 'ALL', true, false);
// Size