From: Thomas Berezansky Date: Fri, 9 Sep 2011 19:23:09 +0000 (-0400) Subject: Fix dos_print when NSPrint interface is used X-Git-Tag: sprint4-merge-nov22~5137 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=02805043719388e350a699138dd6a225ead91fc5;p=working%2FEvergreen.git 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 --- 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 {