From 6e4093a0a57dc886cfb29c3b2b63a63bf59db186 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 22 Feb 2013 14:56:10 -0500 Subject: [PATCH] Fix the copy-paste code copying too few or too many messages (imported from commit 2e379618b29cd5c8b168e3f4bdbaa278c5247462) --- zephyr/static/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index a64bc69184..d2ac174a19 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -113,7 +113,7 @@ $(document).bind('copy', function (e) { } // 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)) { if (row.prev().hasClass("recipient_row")) { div.append(p);