[open-ils-commits] r14984 - trunk/Open-ILS/xul/staff_client/server/cat (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 19 17:04:26 EST 2009


Author: erickson
Date: 2009-11-19 17:04:20 -0500 (Thu, 19 Nov 2009)
New Revision: 14984

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
Log:
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

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js	2009-11-19 21:57:14 UTC (rev 14983)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js	2009-11-19 22:04:20 UTC (rev 14984)
@@ -132,17 +132,14 @@
                                     }
                                 );
 
-                                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' : [



More information about the open-ils-commits mailing list