From: phasefx Date: Mon, 22 Oct 2007 05:50:52 +0000 (+0000) Subject: better indication of causes for renewal failures X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5b2fb57a16d94f3f513bd5dbad0f4da3ba7f8ac2;p=Evergreen.git better indication of causes for renewal failures git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7910 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index 4ecfb09570..6e8da28da1 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -306,7 +306,9 @@ patron.items.prototype = { // A renewed circ is a new circ, and has a new circ_id. obj.list_circ_map[ r[0].payload.circ.id() ] = obj.list_circ_map[ circ_id ]; } else { - l.setAttribute('value', bc + ' not renewed. ' + r[0].textcode + r[0].desc); + var msg = bc + ' not renewed.\n' + r[0].textcode + r[0].desc; + l.setAttribute('value', msg); + alert(msg); } count--; if (count == 0) { @@ -315,7 +317,7 @@ patron.items.prototype = { } obj.refresh(circ_id); } catch(E) { - obj.error.standard_unexpected_error_alert('Error in renew_via_barcode callback\nRenew probably did not happen for barcode ' + barcode,E); + obj.error.standard_unexpected_error_alert('Error in renew_via_barcode callback\nRenew probably did not happen for barcode ' + barcode,E); } } );