Only update MARC on full entry of fixed fields
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 28 Jul 2011 15:04:36 +0000 (11:04 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 4 Aug 2011 18:46:59 +0000 (14:46 -0400)
commit90c7088008bc0e669d4d08e2b2b030c8ea5caa6e
tree5f2296a729421415ffa6c093dbfd5431008aae9d
parent852e650763ff4efa867a6640a458d7ed6b792ac9
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/server/cat/marcedit.js