From 819da5c21371951e825039e880b84a38adc1a3fb Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 12 Nov 2009 22:03:56 +0000 Subject: [PATCH] added carriage return to newlines in addr template to so windows will display the output correctly when pasted git-svn-id: svn://svn.open-ils.org/ILS/trunk@14886 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/summary.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/summary.xul b/Open-ILS/xul/staff_client/server/patron/summary.xul index 3e117f3998..9329e5d0f2 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.xul +++ b/Open-ILS/xul/staff_client/server/patron/summary.xul @@ -91,7 +91,7 @@ ); // Replace literal instances of '\n' and excessive whitespace. copy_to_clipboard( - s.replace(/(\\n)+/g, "\n").replace(/ {2,}/g, " ") + s.replace(/(\\n)+/g, "\r\n").replace(/ {2,}/g, " ") ); } -- 2.11.0