From 21b56e69d8e6e4fb9b2c627b5f1da18ae630baa4 Mon Sep 17 00:00:00 2001 From: Josh Lamos Date: Thu, 17 May 2012 16:06:44 -0400 Subject: [PATCH] adding a hyperlink to the item status interface to allow retrieval of hold patron --- Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js | 3 ++- Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js index eb2b28eafa..aa5b5bbed4 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js @@ -617,7 +617,8 @@ function load_item() { JSAN.use('patron.util'); var au_obj = patron.util.retrieve_fleshed_au_via_id( ses(), details.hold.usr() ); $('hold_patron_name').setAttribute('value', $('circStrings').getFormattedString('staff.circ.copy_details.user_details', [au_obj.family_name(), au_obj.first_given_name(), au_obj.card().barcode()]) ); - +//MIEG: + $('hold_patron_name').setAttribute('onclick','circ.util.show_copy_details('+details.copy.id()+')'); set("hold_status", details.hold.status()); set("transit", details.hold.transit()); set("capture_time", util.date.formatted_date( details.hold.capture_time(), '%{localized}' )); diff --git a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul index 2b21d6588b..7f537d4782 100644 --- a/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul +++ b/Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul @@ -285,7 +285,7 @@ - -- 2.11.0