projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5f791d
)
LP#1053074: Editing MARC Fixed Fields jumps cursor to marc record
user/simonmai/marc_fixed_fields
author
Simon Hieu Mai
<hieu.mai@mnsu.edu>
Wed, 6 Mar 2013 18:01:55 +0000
(12:01 -0600)
committer
Simon Hieu Mai
<hieu.mai@mnsu.edu>
Wed, 6 Mar 2013 21:05:56 +0000
(15:05 -0600)
Put the cursor back to the current fixed field after reload
the MARC record table.
Signed-off-by: Simon Mai <hieu.mai@mnsu.edu>
Open-ILS/xul/staff_client/server/cat/marcedit.js
patch
|
blob
|
history
diff --git
a/Open-ILS/xul/staff_client/server/cat/marcedit.js
b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index
1fbf544
..
5088a72
100644
(file)
--- 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
+ document.getElementById(element.getAttribute('id')).select();
return true;
}