[open-ils-commits] r14886 - trunk/Open-ILS/xul/staff_client/server/patron (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 12 17:04:02 EST 2009


Author: erickson
Date: 2009-11-12 17:03:56 -0500 (Thu, 12 Nov 2009)
New Revision: 14886

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/summary.xul
Log:
added carriage return to newlines in addr template to so windows will display the output correctly when pasted

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-11-12 21:07:02 UTC (rev 14885)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-11-12 22:03:56 UTC (rev 14886)
@@ -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, " ")
             );
         }
 



More information about the open-ils-commits mailing list