define obj for this method
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 May 2010 17:48:32 +0000 (17:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 May 2010 17:48:32 +0000 (17:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16418 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/print.js

index 0a757dc..bf2d870 100644 (file)
@@ -141,6 +141,7 @@ util.print.prototype = {
 
     'template_sub' : function( msg, cols, params ) {
         try {
+            var obj = this;
             if (!msg) { dump('template sub called with empty string\n'); return; }
             JSAN.use('util.date');
             var s = msg; var b;