From aacce1fb2e023f422fa6784a8ce01999f7337ae1 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 6 Dec 2005 14:44:11 +0000 Subject: [PATCH] ui git-svn-id: svn://svn.open-ils.org/ILS/trunk@2239 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkout.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 3154fac3ea..32794a6d95 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -165,6 +165,9 @@ circ.checkout.prototype = { //I could override map_row_to_column here } ); + if (typeof obj.on_checkout == 'function') { + obj.on_checkout(); + } } else { throw(permit.text); @@ -194,6 +197,11 @@ circ.checkout.prototype = { } ); + }, + + 'on_checkout' : function() { + this.controller.view.checkout_barcode_entry_textbox.value = ''; + this.controller.view.checkout_barcode_entry_textbox.focus(); } } -- 2.43.2