Repair remaining Authority Fixed Field editor entries
authorMike Rylander <mrylander@gmail.com>
Fri, 12 Jul 2013 18:43:57 +0000 (14:43 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 22 Aug 2013 15:15:37 +0000 (11:15 -0400)
The "Item" fixed field is only valid for MFHD records, so we remove
that entirely from AUTH records.  The "GeoSubd" fixed field is
spelled "GeoDiv" everywhere, so we align that naming so that it can
be saved.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/dojo/MARC/FixedFields.js
Open-ILS/xul/staff_client/server/cat/marcedit.xul

index dd7a2a7..b4df704 100644 (file)
@@ -498,7 +498,7 @@ if(!dojo._hasResource["MARC.FixedFields"]) {
                 MFHD : {start : 6, len : 1, def : 'y' }
             }
         },
-        "GeoSubd" : {
+        "GeoDiv" : {
              "_8" : {
                  "AUT" : {"start" : 6, "len" : 1, "def" : ' ' }
              }
index 4a1c7ea..6d86170 100644 (file)
                             <textbox id="Type_tbmfhd" context="clipboard" class="plain" name="Type" maxlength="1" size="1" onkeypress="set_lock_on_keypress(event);" oninput="updateFixedFields(this);" onfocus="this.select();"/>
                             <label name="ELvl" control="ELvl_tbmfhd" set="AUT MFHD" value="ELvl" />
                             <textbox id="ELvl_tbmfhd" context="clipboard" class="plain" name="ELvl" maxlength="1" size="1" onkeypress="set_lock_on_keypress(event);" oninput="updateFixedFields(this);" onfocus="this.select();"/>
-                            <label name="Item" control="Item_tbmfhd" set="AUT MFHD" value="Item" />
+                            <label name="Item" control="Item_tbmfhd" set="MFHD" value="Item" />
                             <textbox id="Item_tbmfhd" context="clipboard" class="plain" name="Item" maxlength="1" size="1" onkeypress="set_lock_on_keypress(event);" oninput="updateFixedFields(this);" onfocus="this.select();"/>
                             <label name="GeoDiv" control="GeoDiv_tb" set="AUT" value="GeoDiv" />
                             <textbox id="GeoDiv_tb" context="clipboard" class="plain" name="GeoDiv" maxlength="1" size="1" onkeypress="set_lock_on_keypress(event);" oninput="updateFixedFields(this);" onfocus="this.select();"/>