[open-ils-commits] r20370 - branches/rel_2_0/Open-ILS/xul/staff_client/server/circ (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon May 2 09:21:40 EDT 2011
Author: phasefx
Date: 2011-05-02 09:21:38 -0400 (Mon, 02 May 2011)
New Revision: 20370
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js
Log:
fix "undefined is in transit"
https://bugs.launchpad.net/evergreen/+bug/773528
---
Fix bug squashing of params in checkin_via_barcode2 in circ/util.js.
Author: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js 2011-05-02 13:21:10 UTC (rev 20369)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/util.js 2011-05-02 13:21:38 UTC (rev 20370)
@@ -2692,7 +2692,7 @@
print.simple( msg , { 'no_prompt' : true, 'content_type' : 'text/html' } );
} else {
var template = 'hold_slip';
- var params = {
+ var parms = {
'patron' : print_data.user,
'lib' : data.hash.aou[ check.payload.hold.pickup_lib() ],
'staff' : data.list.au[0],
@@ -2704,9 +2704,9 @@
'data' : print_data
};
if ($('printer_prompt')) {
- if (! $('printer_prompt').checked) { params.no_prompt = true; }
+ if (! $('printer_prompt').checked) { parms.no_prompt = true; }
}
- print.tree_list( params );
+ print.tree_list( parms );
}
} catch(E) {
var err_msg = document.getElementById('commonStrings').getString('common.error');
@@ -3065,7 +3065,7 @@
print.simple( msg , { 'no_prompt' : true, 'content_type' : 'text/html' } );
} else {
var template = check.payload.hold ? 'hold_transit_slip' : 'transit_slip';
- var params = {
+ var parms = {
'patron' : print_data.user,
'lib' : data.hash.aou[ data.list.au[0].ws_ou() ],
'staff' : data.list.au[0],
@@ -3077,9 +3077,9 @@
'data' : print_data
};
if ($('printer_prompt')) {
- if (! $('printer_prompt').checked) { params.no_prompt = true; }
+ if (! $('printer_prompt').checked) { parms.no_prompt = true; }
}
- print.tree_list( params );
+ print.tree_list( parms );
}
} catch(E) {
var err_msg = document.getElementById('commonStrings').getString('common.error');
More information about the open-ils-commits
mailing list