LP#1053074 Editing MARC Fixed Fields jumps cursor user/adbowling-isl/lp1053074_fixed_field_cursor_jump
authorAdam Bowling <adbowling@library.in.gov>
Tue, 25 Sep 2012 14:16:19 +0000 (10:16 -0400)
committerAdam Bowling <adbowling@library.in.gov>
Tue, 25 Sep 2012 14:16:19 +0000 (10:16 -0400)
This patch addresses LP#1053074 by removing the cursor jump
when editing the fixed fields in the MARC record editor after
hitting the tab key.

Signed-off-by: Adam Bowling <adbowling@library.in.gov>
Open-ILS/xul/staff_client/server/cat/marcedit.js

index 71e6f22..e1556c0 100644 (file)
@@ -1086,7 +1086,6 @@ function loadRecord() {
                 grid_rows.appendChild( marcDatafield( xml_record.datafield[i] ) );
             }
 
-            grid_rows.getElementsByAttribute('class','marcDatafieldRow')[0].firstChild.focus();
 
             var marc_rec = new MARC.Record ({ delimiter : '$', marcxml : xml_record.toXMLString() });
             changeFFEditor(marc_rec.recordType());