From fc3af74007600f291f0b05611fabe0a322f970d3 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 16 Mar 2010 15:43:17 +0000 Subject: [PATCH] thinko spotted by Bill Ott, whereby empty middle name field stops barcode display in brief circ interface git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@15865 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/circ_brief.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/circ_brief.xul b/Open-ILS/xul/staff_client/server/circ/circ_brief.xul index c7d7218774..e0d02502f2 100644 --- a/Open-ILS/xul/staff_client/server/circ/circ_brief.xul +++ b/Open-ILS/xul/staff_client/server/circ/circ_brief.xul @@ -73,7 +73,7 @@ g.patron_id = r_circ.usr(); $('add_billing').disabled = false; g.network.simple_request('FM_AU_FLESHED_RETRIEVE_VIA_ID',[ ses(), r_circ.usr() ], function(preq) { var r_au = preq.getResultObject(); - $('patron_name').value = r_au.family_name() + ', ' + r_au.first_given_name() + ' ' + (r_au.second_given_name() ? r_au.second_given_name() + ' : ' + r_au.card().barcode() : ''); + $('patron_name').value = r_au.family_name() + ', ' + r_au.first_given_name() + ' ' + (r_au.second_given_name() ? r_au.second_given_name() : '') + ' : ' + r_au.card().barcode(); JSAN.use('patron.util'); patron.util.set_penalty_css(r_au); }); -- 2.11.0