From 222a2589e91a55337c66707bc169fff82e5b3c01 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 20 May 2010 05:21:39 +0000 Subject: [PATCH] Don't assume an explicit print strategy has been set here git-svn-id: svn://svn.open-ils.org/ILS/trunk@16462 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/browser.js b/Open-ILS/xul/staff_client/chrome/content/util/browser.js index aa16e6eaf..ab877db56 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/browser.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/browser.js @@ -55,7 +55,7 @@ util.browser.prototype = { print_params.msg = obj.html_source; } JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.stash_retrieve(); - if (data.print_strategy == 'webBrowserPrint') { + if (data.print_strategy == 'webBrowserPrint' || !data.print_strategy) { // Override the print strategy temporarily in this context print_params.print_strategy = 'window.print'; } -- 2.11.0