no printer prompt on receipt printing
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 18:37:56 +0000 (18:37 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 18:37:56 +0000 (18:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1445 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/util/print.js

index f5ab613..4c75af8 100644 (file)
@@ -34,7 +34,7 @@ function print_circ_receipt(circ_type,params,sample_view) {
        if (sample_view) {
                sample_view.setAttribute( 'src', 'data:text/html,<html>' + s + '</html>\r\n' );
        } else {
-               sPrint( s );
+               sPrint( s, true );
        }
 }
 
@@ -192,7 +192,7 @@ function print_template_replace(s,params) {
 // Lower-level
 
 function last_sPrint() {
-       sPrint( mw.G.last_receipt );
+       sPrint( mw.G.last_receipt, true );
 }
 
 function sPrint(s,silent) {