From e171ed810aa3024412e4bdaa5432fe58066d7ce1 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 28 Jul 2006 15:46:38 +0000 Subject: [PATCH] put temporary warning in hold user fetcher git-svn-id: svn://svn.open-ils.org/ILS/trunk@5155 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/holds.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index 5c02a7321c..0385ff04b5 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -25,7 +25,10 @@ function _holdsHandleStaffMe() { function _holdsHandleStaff() { var barcode = $('xul_recipient_barcode').value; var user = grabUserByBarcode( G.user.session, barcode ); - if(!user) return; + if(!user) { + alert('fixme: invalid user barcode: ['+barcode+']'); + return + } holdArgs.recipient = user; holdsDrawEditor(); } -- 2.11.0