summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-24 08:30:52 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-24 08:30:52 +0000
commit5a21a5139b7e487a5ee438e38df0237e9257760a (patch)
tree4c03a7a6e2a61a94e40d8f659629f5c89873f9ab /roundcubemail/program/js/app.js
parent7911a2bfa4c689fb3711d8750003290878314f8c (diff)
Fix thread expand/collapse callbacks which set css classes
git-svn-id: https://svn.roundcube.net/trunk@5817 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index cdc3aa07f..53a746265 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1623,6 +1623,7 @@ function rcube_webmail()
{
if (this.env.messages[row.uid])
this.env.messages[row.uid].expanded = row.expanded;
+ $(row.obj)[row.expanded?'addClass':'removeClass']('expanded');
};
this.msglist_set_coltypes = function(list)
@@ -2146,7 +2147,6 @@ function rcube_webmail()
this.set_unread_children(uid);
row.expanded = !row.expanded;
- $(row.obj)[row.expanded?'removeClass':'addClass']('expanded');
this.message_list.expand_row(e, uid);
};