From 8e33056e8097ec5edecc1506d3cbb117e2ca595c Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 26 Apr 2011 14:38:23 +0000 Subject: [PATCH] fix disappearing cursor/caret for Check In git-svn-id: svn://svn.open-ils.org/ILS/trunk@20314 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkin.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 7997ab5..9a36d7e 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -537,6 +537,7 @@ circ.checkin.prototype = { 'barcode' : barcode, 'disable_textbox' : function() { if (!async) { + textbox.blur(); textbox.disabled = true; textbox.setAttribute('disabled', 'true'); } @@ -544,9 +545,11 @@ circ.checkin.prototype = { 'enable_textbox' : function() { textbox.disabled = false; textbox.setAttribute('disabled', 'false'); + textbox.focus(); }, 'checkin_result' : function(checkin) { textbox.disabled = false; + textbox.focus(); //obj.controller.view.cmd_checkin_submit_barcode.setAttribute('disabled', 'false'); obj.checkin2(checkin,backdate,row_params); }, -- 1.7.2.5