[open-ils-commits] r20314 - trunk/Open-ILS/xul/staff_client/server/circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 26 10:38:25 EDT 2011


Author: phasefx
Date: 2011-04-26 10:38:23 -0400 (Tue, 26 Apr 2011)
New Revision: 20314

Modified:
   trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
Log:
fix disappearing cursor/caret for Check In


Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:13:55 UTC (rev 20313)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:38:23 UTC (rev 20314)
@@ -537,6 +537,7 @@
                 'barcode' : barcode,
                 'disable_textbox' : function() { 
                     if (!async) {
+                        textbox.blur();
                         textbox.disabled = true; 
                         textbox.setAttribute('disabled', 'true'); 
                     }
@@ -544,9 +545,11 @@
                 '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);
                 },



More information about the open-ils-commits mailing list