[open-ils-commits] r16462 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 20 01:21:42 EDT 2010
Author: phasefx
Date: 2010-05-20 01:21:39 -0400 (Thu, 20 May 2010)
New Revision: 16462
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
Log:
Don't assume an explicit print strategy has been set here
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2010-05-20 04:55:40 UTC (rev 16461)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2010-05-20 05:21:39 UTC (rev 16462)
@@ -55,7 +55,7 @@
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';
}
More information about the open-ils-commits
mailing list