From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 12 Nov 2009 22:03:56 +0000 (+0000)
Subject: added carriage return to newlines in addr template to so windows will display the... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=819da5c21371951e825039e880b84a38adc1a3fb;p=contrib%2FConifer.git

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
---

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, " ")
             );
         }