From: phasefx Date: Thu, 10 Aug 2006 20:40:04 +0000 (+0000) Subject: the copy details action X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bc67193046e3a78eb3a91c7e3093a73e3d808e27;p=evergreen%2Fpines.git the copy details action git-svn-id: svn://svn.open-ils.org/ILS/trunk@5439 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.js b/Open-ILS/xul/staff_client/server/circ/copy_status.js index e7a4a4f64e..84d9900822 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.js +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.js @@ -48,6 +48,7 @@ circ.copy_status.prototype = { obj.controller.view.sel_opac.setAttribute('disabled','true'); obj.controller.view.sel_patron.setAttribute('disabled','true'); obj.controller.view.sel_bucket.setAttribute('disabled','true'); + obj.controller.view.sel_copy_details.setAttribute('disabled','true'); obj.controller.view.sel_spine.setAttribute('disabled','true'); obj.controller.view.sel_transit_abort.setAttribute('disabled','true'); obj.controller.view.sel_clip.setAttribute('disabled','true'); @@ -57,6 +58,7 @@ circ.copy_status.prototype = { obj.controller.view.sel_opac.setAttribute('disabled','false'); obj.controller.view.sel_patron.setAttribute('disabled','false'); obj.controller.view.sel_bucket.setAttribute('disabled','false'); + obj.controller.view.sel_copy_details.setAttribute('disabled','false'); obj.controller.view.sel_spine.setAttribute('disabled','false'); obj.controller.view.sel_transit_abort.setAttribute('disabled','false'); obj.controller.view.sel_clip.setAttribute('disabled','false'); @@ -128,6 +130,15 @@ circ.copy_status.prototype = { circ.util.show_last_few_circs(obj.selection_list); } ], + 'sel_copy_details' : [ + ['command'], + function() { + JSAN.use('circ.util'); + for (var i = 0; i < obj.selection_list.length; i++) { + circ.util.show_copy_details( obj.selection_list[i].copy_id ); + } + } + ], 'sel_bucket' : [ ['command'], function() { diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.xul b/Open-ILS/xul/staff_client/server/circ/copy_status.xul index d570659606..46e7f83762 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.xul +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.xul @@ -86,6 +86,7 @@ + diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul index bc892c31f3..65c3e0be2d 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul @@ -13,12 +13,13 @@ + - + @@ -53,12 +54,13 @@ + - +