From d433e483a01b3250f5a3cbd1ea5a4b7b7656943b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 10 Feb 2017 17:06:57 -0500 Subject: [PATCH] LP#1646166 Hatch templated print content type repair Fixes a thinko in the Hatch code that set a bad default content type for template-driven HTML printing. Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/staff/services/print.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/services/print.js b/Open-ILS/web/js/ui/default/staff/services/print.js index ef01410f98..02424a9da0 100644 --- a/Open-ILS/web/js/ui/default/staff/services/print.js +++ b/Open-ILS/web/js/ui/default/staff/services/print.js @@ -32,7 +32,7 @@ function($q , $window , $timeout , $http , egHatch , egAuth , egIDL , egOrg , eg return service.getPrintTemplate(args.template) .then(function(content) { args.content = content; - if (!args.content_type) args.content_type = 'html'; + if (!args.content_type) args.content_type = 'text/html'; service.getPrintTemplateContext(args.template) .then(function(context) { args.context = context; -- 2.11.0