From: phasefx Date: Tue, 26 Apr 2011 14:38:23 +0000 (+0000) Subject: fix disappearing cursor/caret for Check In X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=8e33056e8097ec5edecc1506d3cbb117e2ca595c fix disappearing cursor/caret for Check In git-svn-id: svn://svn.open-ils.org/ILS/trunk@20314 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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); },