From: Adam Bowling Date: Tue, 25 Sep 2012 14:16:19 +0000 (-0400) Subject: LP#1053074 Editing MARC Fixed Fields jumps cursor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fadbowling-isl%2Flp1053074_fixed_field_cursor_jump;p=working%2FEvergreen.git LP#1053074 Editing MARC Fixed Fields jumps cursor 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 --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 71e6f22d4e..e1556c0fab 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -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());