From: Bill Erickson Date: Fri, 10 Feb 2017 22:06:57 +0000 (-0500) Subject: LP#1646166 Hatch templated print content type repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d433e483a01b3250f5a3cbd1ea5a4b7b7656943b;p=working%2FEvergreen.git 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 --- 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;