From 326ab2022262d50e662a705761c572e112cbf72c Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 19 Nov 2009 22:04:20 +0000 Subject: [PATCH] patch from Lebbeous Fogle-Weekley to finalize the show-item-details-opens-new-copy-details-tab work. in this edition, it's the holds maintenance ui git-svn-id: svn://svn.open-ils.org/ILS/trunk@14984 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index 975a55abd7..b306de02ab 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -132,17 +132,14 @@ cat.copy_browser.prototype = { } ); - list = util.functional.map_list( - list, - function (o) { - return o.split(/_/)[1]; - } - ); - JSAN.use('circ.util'); - for (var i = 0; i < list.length; i++) { - circ.util.show_copy_details( list[i] ); - } + circ.util.item_details_new( + util.functional.map_list( + list, function (o) { + return obj.map_acp[o].barcode(); + } + ) + ); } ], 'cmd_add_items' : [ -- 2.11.0