From aadf3fc2003ad94632a20e34676fcec6afb290a9 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 6ab785bc0a..247f682353 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/print.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/print.js @@ -365,6 +365,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