diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-18 07:39:31 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-18 07:39:31 +0000 |
| commit | ac4cbfc4269da0c94198fd908cbc8b6df543d423 (patch) | |
| tree | b9e2ae140a6dac65c1775a5280731a5847c0ee60 /roundcubemail/program/steps | |
| parent | d6aaaf607f14528f9b011a48f32a1170f97503ed (diff) | |
- Added threads tree icons
- css/js fixes and improvements in (messages) list code
git-svn-id: https://svn.roundcube.net/trunk@3625 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 01b7c1f00..00a8edf95 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -285,6 +285,8 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $head_replace=FAL if ($header->depth) $a_msg_flags['depth'] = $header->depth; + else if ($header->has_children) + $roots[] = $header->uid; if ($header->parent_uid) $a_msg_flags['parent_uid'] = $header->parent_uid; if ($header->has_children) @@ -311,6 +313,10 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $head_replace=FAL $a_msg_flags, $insert_top); } + + if ($IMAP->threading && $a_headers) { + $OUTPUT->command('init_threads', (array) $roots); + } } |
