From b49bc192219110faac8ba3df9c6406354be74a57 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 d17bccb4be..1776eff52c 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill2.js +++ b/Open-ILS/xul/staff_client/server/patron/bill2.js @@ -149,7 +149,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.11.0