projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8cb32
)
LP#1053074: Editimg MARC Fixed Fields jumps cursor to marc record
author
Simon Hieu Mai
<hieu.mai@mnsu.edu>
Mon, 3 Jun 2013 21:45:08 +0000
(17:45 -0400)
committer
Dan Wells
<dbw2@calvin.edu>
Tue, 4 Jun 2013 16:01:05 +0000
(12:01 -0400)
Put the cursor back to the current fixed field after reload
the MARC record table.
Signed-off-by: Simon Hieu Mai <hieu.mai@mnsu.edu>
Signed-off-by: Dan Wells <dbw2@calvin.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
e91d40f
..
adc4cf1
100644
(file)
--- 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;
}