webby: repair Hatch type=text printing
authorBill Erickson <berickxx@gmail.com>
Wed, 3 Dec 2014 19:57:54 +0000 (14:57 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 3 Dec 2014 19:58:01 +0000 (14:58 -0500)
When printing text, Hatch was receiving no print content due to some
code refactoring.  Repaired.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/services/print.js

index bcb8aa2..fa60193 100644 (file)
@@ -66,7 +66,7 @@ function($q , $window , $timeout , $http , egHatch , egAuth , egIDL , egOrg) {
 
         } else {
             // text content does not require compilation for remote printing
-            promise = $q.when();
+            promise = $q.when(args.content);
         }
 
         // TODO: link print context to template type