diff options
author | thomascube <thomas@roundcube.net> | 2012-01-24 08:30:52 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-24 08:30:52 +0000 |
commit | 32afefb851dd3a93c1497a8e63ec3460430a4357 (patch) | |
tree | b7b09895d38d544cf343cf14355fbed299576897 /program/js/app.js | |
parent | 5ff7ba44ecb57fc3af6ded2094eb128a724f9cb4 (diff) |
Fix thread expand/collapse callbacks which set css classes
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index cdc3aa07f..53a746265 100644 --- a/program/js/app.js +++ b/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); }; |