LP873614 print_init error printing bill history
authorJason Etheridge <jason@esilibrary.com>
Fri, 14 Oct 2011 16:14:14 +0000 (12:14 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 14 Oct 2011 17:24:51 +0000 (13:24 -0400)
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 <jason@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/xul/staff_client/server/patron/bill2.js

index 6b8d45c..6ee86cf 100644 (file)
@@ -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
                     }
                 );
             },