[open-ils-commits] r17373 - trunk/Open-ILS/xul/staff_client/server/patron (senator)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 10:57:58 EDT 2010
Author: senator
Date: 2010-08-30 10:57:56 -0400 (Mon, 30 Aug 2010)
New Revision: 17373
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/items.js
Log:
Make "show item details" consistent for top AND bottom of patron items out
Modified: trunk/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/items.js 2010-08-30 14:56:55 UTC (rev 17372)
+++ trunk/Open-ILS/xul/staff_client/server/patron/items.js 2010-08-30 14:57:56 UTC (rev 17373)
@@ -132,7 +132,12 @@
'sel_copy_details2' : [ ['command'],
function() {
JSAN.use('circ.util');
- for (var i = 0; i < obj.retrieve_ids2.length; i++) { circ.util.show_copy_details( obj.retrieve_ids2[i].copy_id ); }
+ circ.util.item_details_new(
+ util.functional.map_list(
+ obj.retrieve_ids2,
+ function(o) { return o.barcode; }
+ )
+ );
}
],
'cmd_items_print' : [ ['command'], function() { obj.items_print(1); } ],
More information about the open-ils-commits
mailing list