From: Simon Hieu Mai Date: Mon, 3 Jun 2013 21:45:08 +0000 (-0400) Subject: LP#1053074: Editimg MARC Fixed Fields jumps cursor to marc record X-Git-Tag: sprint4-merge-nov22~3098 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=717a1263a3fee997c3617326e0d90450e2c07220;p=working%2FEvergreen.git LP#1053074: Editimg MARC Fixed Fields jumps cursor to marc record Put the cursor back to the current fixed field after reload the MARC record table. Signed-off-by: Simon Hieu Mai Signed-off-by: Dan Wells --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index e91d40fa4e..adc4cf11b9 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -870,6 +870,8 @@ function updateFixedFields (element) { xml_record = new XML( xml_string ); if (xml_record..record[0]) xml_record = xml_record..record[0]; loadRecord(); + // Put the cursor back to the current fixed field + element.select(); return true; }