From 0886d185f170815a42b32c7c4a23db4076f1a4d1 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 11 Dec 2009 20:34:58 +0000 Subject: [PATCH] onerror handler for batch_hold_update utility method git-svn-id: svn://svn.open-ils.org/ILS/trunk@15146 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/util.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index da856ac01..341a1f3a4 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -3003,6 +3003,9 @@ circ.util.batch_hold_update = function ( hold_ids, field_changes, params ) { params.oncomplete( bad_holds ); } if (params.progressmeter) { params.progressmeter.value = 0; params.progressmeter.hidden = true; } + }, + onerror: function(r) { + alert('Error in circ/util.js, batch_hold_update(), onerror: ' + r); } } ); -- 2.11.0