onerror handler for batch_hold_update utility method
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Dec 2009 20:34:58 +0000 (20:34 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Dec 2009 20:34:58 +0000 (20:34 +0000)
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

index da856ac..341a1f3 100644 (file)
@@ -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);
                 }
             }
         );