From 02805043719388e350a699138dd6a225ead91fc5 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Fri, 9 Sep 2011 15:23:09 -0400 Subject: [PATCH] Fix dos_print when NSPrint interface is used By adding params.dos_print = true where needed. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/chrome/content/util/print.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/print.js b/Open-ILS/xul/staff_client/chrome/content/util/print.js index d520776149..a4222fa4a4 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/print.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/print.js @@ -448,6 +448,7 @@ util.print.prototype = { + ' => ' + ( params.print_strategy || obj.data.print_strategy[obj.context] || obj.data.print_strategy['default'] ) + '\n'); switch(params.print_strategy || obj.data.print_strategy[obj.context] || obj.data.print_strategy['default']) { case 'dos.print': + params.dos_print = true; case 'custom.print': if (typeof w != 'string') { try { -- 2.11.0