Only update MARC on full entry of fixed fields user/tsbere@mvlc.org/marc_edit_fixed_fields
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 28 Jul 2011 15:04:36 +0000 (11:04 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 28 Jul 2011 15:04:36 +0000 (11:04 -0400)
commit98f7ad23659cff312b8b5f24881de6e21e001f2c
tree4f1fb1eefb0ad2c5b7bff1275018b960f7c0eeff
parent2b64c85a9979cd6743f7a03504ae8c580b8f4445
Only update MARC on full entry of fixed fields

AKA:
Lang is 3 characters long. Entering 1 character would cause focus to leave.
MARC would also update incorrectly.

This only triggers the update when the full 3 characters are entered.

This not only prevents issues with catalogers editing multi-character fixed
fields but also makes it less likely they accidentally corrupt the records.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/xul/staff_client/server/cat/marcedit.js