From 55c3ba695eb47d292b512586db2d1044f5014f1b Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 26 Apr 2011 14:41:30 +0000 Subject: [PATCH] fix disappearing cursor/caret for Check In git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20316 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 28f3d03a91..d4f69d7683 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -462,16 +462,19 @@ circ.checkin.prototype = { var params = { 'barcode' : barcode, 'disable_textbox' : function() { + obj.controller.view.checkin_barcode_entry_textbox.blur(); obj.controller.view.checkin_barcode_entry_textbox.disabled = true; obj.controller.view.cmd_checkin_submit_barcode.setAttribute('disabled', 'true'); }, 'enable_textbox' : function() { obj.controller.view.checkin_barcode_entry_textbox.disabled = false; obj.controller.view.cmd_checkin_submit_barcode.setAttribute('disabled', 'false'); + obj.controller.view.checkin_barcode_entry_textbox.focus(); }, 'checkin_result' : function(checkin) { obj.controller.view.checkin_barcode_entry_textbox.disabled = false; obj.controller.view.cmd_checkin_submit_barcode.setAttribute('disabled', 'false'); + obj.controller.view.checkin_barcode_entry_textbox.focus(); obj.checkin2(checkin,backdate); } }; -- 2.11.0