Fix the copy-paste code copying too few or too many messages

(imported from commit 2e379618b29cd5c8b168e3f4bdbaa278c5247462)
This commit is contained in:
Zev Benjamin 2013-02-22 14:56:10 -05:00
parent 296d7d89a3
commit 6e4093a0a5
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ $(document).bind('copy', function (e) {
} }
// Construct a div for what we want to copy (div) // Construct a div for what we want to copy (div)
row = current_msg_list.selected_row(); row = rows.get(startid, current_msg_list.table_name);
for (0 /* for linter */; rows.id(row) <= endid; row = rows.next_visible(row)) { for (0 /* for linter */; rows.id(row) <= endid; row = rows.next_visible(row)) {
if (row.prev().hasClass("recipient_row")) { if (row.prev().hasClass("recipient_row")) {
div.append(p); div.append(p);