[open-ils-commits] r20316 - branches/rel_2_0/Open-ILS/xul/staff_client/server/circ (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 26 10:41:32 EDT 2011


Author: phasefx
Date: 2011-04-26 10:41:30 -0400 (Tue, 26 Apr 2011)
New Revision: 20316

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


Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:38:53 UTC (rev 20315)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:41:30 UTC (rev 20316)
@@ -462,16 +462,19 @@
             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);
                 }
             }; 



More information about the open-ils-commits mailing list