From: Thomas Berezansky Date: Fri, 9 Sep 2011 19:23:09 +0000 (-0400) Subject: Fix dos_print when NSPrint interface is used X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b07c1608612eadf7b770cd87c10999a22e4256b0;p=evergreen%2Fequinox.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 a51f4d3e24..d7739f4f15 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/print.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/print.js @@ -326,6 +326,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 {