Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Galen Charlton c48da8131d bug 1909: add delete field/subfield button to MARC editor
A button to delete (non-mandatory) subfields and fields
is added to the bib and authority MARC editors.  This button,
which displays as a hypen or minus sign after the plus sign
to clone a field, acts as follows:

[1] When deleting a whole MARC field, if at least
    one other repeat of that field exists, deletes
    the field from the editor page.  If the field
    to be deleted is the last instance of that tag,
    the contents of the field are cleared, not removed.
    This allows one to delete all 650 tags, then
    add a new one without having to reload the
    record in the editor.

[2] When deleting a subfield, if at least one other
    repeat of that subfield and its tag occurs
    *anywhere else in the record, not necessarily in the same tag*,
    deletes the subfield.
    Otherwise, if the subfield is the last occurrence
    of that tag/subfield combination, clears the input
    form instead.

Documentation note: new screenshots for MARC editor, plus
description of the '-' button.

Credit to MJ Ray for introducing the '-' button
and the UnCloneField JavaScript function.

Signed-off-by: Andrew Moore <andrew.moore@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-08 12:31:30 -05:00
..
value_builder workaround for translation script 2008-06-20 20:12:55 -05:00
addbiblio-nomarc.tmpl More changes to enable YUI-Grids CSS layout 2007-08-28 16:50:44 -05:00
addbiblio.tmpl bug 1909: add delete field/subfield button to MARC editor 2008-07-08 12:31:30 -05:00
addbooks.tmpl Markup corrections to cataloging pages; Fixes for Bugs 2166 (" Book Jackets Not Showing on My Summary"), 2194 ("No results for Authority Search Shows blank record"), and 2196 ("Extra comma being added to record display") 2008-06-17 08:31:09 -05:00
additem-nomarc.tmpl Moving </head><body> into body of templates so that js and css can be embedded per-page. 2007-08-30 15:50:54 -05:00
additem.tmpl XHTML corrections for bib display and item add 2008-02-15 08:24:44 -06:00
thesaurus_popup.tmpl Moving inline script blocks to <head> where possible 2007-09-04 16:35:52 -05:00
z3950_search.tmpl Swapping tablesorter version. GZipped version may have been responsible for errors in Internet Explorer. Change to usermenu.inc is whitespace only, for proper display in IE. 2008-05-13 17:40:28 -05:00