From a97ede007d7928117b734a43acd3d12343795e22 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Fri, 14 Oct 2011 12:14:14 -0400 Subject: [PATCH] LP873614 print_init error printing bill history xulG.url_prefix needs to be present for anything using util/print.js and the Mozilla print strategy. Alternately, we could duplicate the logic behind url_prefix and bundle it into print.js :-/ Signed-off-by: Jason Etheridge Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott --- Open-ILS/xul/staff_client/server/patron/bill2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js index 6b8d45c8aa..6ee86cf785 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill2.js +++ b/Open-ILS/xul/staff_client/server/patron/bill2.js @@ -161,7 +161,8 @@ function event_listeners() { { 'patron_id' : g.patron_id, 'refresh' : function() { refresh(); }, - 'new_tab' : xulG.new_tab + 'new_tab' : xulG.new_tab, + 'url_prefix' : xulG.url_prefix } ); }, -- 2.43.2