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

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


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

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


Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/checkin.js
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:41:30 UTC (rev 20316)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/circ/checkin.js	2011-04-26 14:43:30 UTC (rev 20317)
@@ -305,16 +305,19 @@
                 { 
                     '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