mail printer context
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 15:36:20 +0000 (15:36 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 15:36:20 +0000 (15:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17377 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/summary.xul

index 290d57e..df1671f 100644 (file)
                 case 'addr_export_print':
                     // Replace literal instances of '\n' and excessive whitespace.
                     s = s.replace(/(\\n)+/g, "<br/>").replace(/ {2,}/g, " ");
-                    JSAN.use('util.print'); var print = new util.print(); print.simple(s);
+                    JSAN.use('util.print'); var print = new util.print('mail'); print.simple(s);
                 break;
             };
         }