From ad7a079e56929911ffe788291c406bf91aa5230b Mon Sep 17 00:00:00 2001 From: Simon Hieu Mai Date: Mon, 3 Jun 2013 17:45:08 -0400 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 614061f835..9e851164f9 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -828,6 +828,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; } -- 2.11.0