[open-ils-commits] r20315 - branches/rel_2_1/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:56 EDT 2011


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

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


Modified: branches/rel_2_1/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- branches/rel_2_1/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:38:23 UTC (rev 20314)
+++ branches/rel_2_1/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:38:53 UTC (rev 20315)
@@ -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