From 8018757b75262d009bc6611be76bf4696d549caa Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sun, 15 Mar 2009 20:00:02 +0000 Subject: Change-set to let the IMAP server do the sensible sorting of threads i.e. sort threads by newest in-thread messages rather than simply by the root thread message. --- roundcubemail/program/js/app.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 626756af6..9c0fafed9 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -3655,9 +3655,16 @@ function rcube_webmail() { for (var i=1;i ':'
 
'; + var toggle_exp = (message.unread_children > 0) ? 'expanded' : 'collapsed'; + tree += flags.has_children?'
 
':'
 
'; + //tree += flags.has_children?'
 
':'
 
'; if (depth > 1) - row.style.display = 'none'; + { + if (message.unread_children > 0 || message.unread) + row.style.display = ''; + else + row.style.display = 'none'; + } } tree += icon ? '' : ''; -- cgit v1.2.3