From: phasefx Date: Mon, 27 Sep 2010 16:31:04 +0000 (+0000) Subject: accidental change in previous commit. long term plan here is a 'slip' printer role X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a37278e824dd80a690d2712f5c50b265570a50a7;p=evergreen%2Fjoelewis.git accidental change in previous commit. long term plan here is a 'slip' printer role git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18031 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index f314c5833f..3697f5a99d 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -2657,7 +2657,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che } 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, '&').replace(//g, '>').replace(/\n/g,'
'); @@ -2787,7 +2787,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che } 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, '&').replace(//g, '>').replace(/\n/g,'
'); print.simple( msg , { 'no_prompt' : true, 'content_type' : 'text/html' } ); } catch(E) { @@ -2984,7 +2984,7 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che } 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, '&').replace(//g, '>').replace(/\n/g,'
');