bug #6, receipt printing
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Aug 2005 18:02:49 +0000 (18:02 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 5 Aug 2005 18:02:49 +0000 (18:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1620 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 4c75af8..a4e1538 100644 (file)
@@ -192,7 +192,7 @@ function print_template_replace(s,params) {
 // Lower-level
 
 function last_sPrint() {
-       sPrint( mw.G.last_receipt, true );
+       if (mw.G.last_receipt) sPrint( mw.G.last_receipt, false );
 }
 
 function sPrint(s,silent) {