[open-ils-commits] r18031 - branches/rel_2_0/Open-ILS/xul/staff_client/server/circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 27 12:31:07 EDT 2010


Author: phasefx
Date: 2010-09-27 12:31:04 -0400 (Mon, 27 Sep 2010)
New Revision: 18031

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js
Log:
accidental change in previous commit.  long term plan here is a 'slip' printer role

Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js	2010-09-27 16:29:50 UTC (rev 18030)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js	2010-09-27 16:31:04 UTC (rev 18031)
@@ -2657,7 +2657,7 @@
                     }
                     if (rv == 0) {
                         try {
-                            JSAN.use('util.print'); var print = new util.print('receipt');
+                            JSAN.use('util.print'); var print = new util.print();
                             var old_template = String( data.hash.aous['ui.circ.old_harcoded_slip_template'] ) == 'true';
                             if (old_template) {
                                 msg = msg.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\n/g,'<br/>');
@@ -2787,7 +2787,7 @@
                     }
                     if (rv == 0) {
                         try {
-                            JSAN.use('util.print'); var print = new util.print('receipt');
+                            JSAN.use('util.print'); var print = new util.print();
                             msg = msg.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\n/g,'<br/>');
                             print.simple( msg , { 'no_prompt' : true, 'content_type' : 'text/html' } );
                         } catch(E) {
@@ -2984,7 +2984,7 @@
             }
             if (rv == 0) {
                 try {
-                    JSAN.use('util.print'); var print = new util.print('receipt');
+                    JSAN.use('util.print'); var print = new util.print();
                     var old_template = String( data.hash.aous['ui.circ.old_harcoded_slip_template'] ) == 'true';
                     if (old_template) {
                         msg = msg.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\n/g,'<br/>');



More information about the open-ils-commits mailing list