Skip to content

Commit

Permalink
Fix marking from message view.
Browse files Browse the repository at this point in the history
  • Loading branch information
trisk committed Mar 29, 2010
1 parent 57237cc commit c615a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markasjunk2.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function rcmail_markasjunk2_mark(flag)
var prev_sel = null;

// also select childs of (collapsed) threads
if (rcmail.env.uid) {
if (rcmail.message_list && rcmail.env.uid) {
if (rcmail.message_list.rows[rcmail.env.uid].has_children && !rcmail.message_list.rows[rcmail.env.uid].expanded) {
if (!rcmail.message_list.in_selection(rcmail.env.uid)) {
prev_sel = rcmail.message_list.get_selection();
Expand Down

0 comments on commit c615a60

Please sign in to comment.