added carriage return to newlines in addr template to so windows will display the...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 12 Nov 2009 22:03:56 +0000 (22:03 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 12 Nov 2009 22:03:56 +0000 (22:03 +0000)
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

index 3e117f3..9329e5d 100644 (file)
@@ -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, " ")
             );
         }