Fix dos_print when NSPrint interface is used
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 9 Sep 2011 19:23:09 +0000 (15:23 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 9 Sep 2011 19:37:21 +0000 (15:37 -0400)
By adding params.dos_print = true where needed.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/util/print.js

index 6ab785b..247f682 100644 (file)
@@ -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 {