[open-ils-commits] r13890 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Aug 20 04:07:56 EDT 2009


Author: phasefx
Date: 2009-08-20 04:07:51 -0400 (Thu, 20 Aug 2009)
New Revision: 13890

Modified:
   branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/items.js
Log:
backport changeset 13889 for fixing regression with renewing multiple items at once in staff client

Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/items.js	2009-08-20 08:01:42 UTC (rev 13889)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/items.js	2009-08-20 08:07:51 UTC (rev 13890)
@@ -275,7 +275,7 @@
 					l.setAttribute('value', $("patronStrings").getFormattedString('staff.patron.items.items_renew.renewing',[bc]));
 					x.appendChild(l);
 				}
-				var renew = circ.util.renew_via_barcode( barcode, obj.patron_id, 
+				var renew = circ.util.renew_via_barcode( bc, obj.patron_id, 
 					function(r) {
                         try {
                             if ( (typeof r[0].ilsevent != 'undefined' && r[0].ilsevent == 0) ) {
@@ -297,7 +297,7 @@
                             }
                             obj.refresh(circ_id);
                         } catch(E) {
-   					       obj.error.standard_unexpected_error_alert($("patronStrings").getFormattedString('staff.patron.items.items_renew.err_in_renew_via_barcode',[barcode]), E);
+   					       obj.error.standard_unexpected_error_alert($("patronStrings").getFormattedString('staff.patron.items.items_renew.err_in_renew_via_barcode',[bc]), E);
                         }
 					} 
 				);



More information about the open-ils-commits mailing list