[open-ils-commits] r15865 - branches/rel_1_6_0/Open-ILS/xul/staff_client/server/circ (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Mar 16 11:43:20 EDT 2010


Author: miker
Date: 2010-03-16 11:43:17 -0400 (Tue, 16 Mar 2010)
New Revision: 15865

Modified:
   branches/rel_1_6_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul
Log:
thinko spotted by Bill Ott, whereby empty middle name field stops barcode display in brief circ interface

Modified: branches/rel_1_6_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul
===================================================================
--- branches/rel_1_6_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul	2010-03-16 15:00:20 UTC (rev 15864)
+++ branches/rel_1_6_0/Open-ILS/xul/staff_client/server/circ/circ_brief.xul	2010-03-16 15:43:17 UTC (rev 15865)
@@ -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);
 						});
 



More information about the open-ils-commits mailing list