From 80d2ecdd1e6741ef3ccd24f39e27de00d46c3206 Mon Sep 17 00:00:00 2001 From: Jason Michalski Date: Fri, 31 Jan 2014 15:11:38 -0500 Subject: [PATCH] Enable custom copy handler when selection starts on a stream header When users select messages starting with stream header we should format the text as using the custom copy handler. (imported from commit 4f9851939484d046619c3e53c71c47ad64797670) --- static/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/ui.js b/static/js/ui.js index d4eae89bf2..f9438705ca 100644 --- a/static/js/ui.js +++ b/static/js/ui.js @@ -135,7 +135,7 @@ function copy_handler(e) { ranges.push(range); startc = $(range.startContainer); - start_data = find_boundary_tr($(startc.parents('div.selectable_row')[0]), function (row) { + start_data = find_boundary_tr($(startc.parents('div.selectable_row, div.recipient_row')[0]), function (row) { return row.next(); }); if (start_data === undefined) {