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)
This commit is contained in:
Jason Michalski 2014-01-31 15:11:38 -05:00
parent b52749d2ce
commit 80d2ecdd1e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {