Bug 4867 - cannot clone subfields in marc editor, other clone/unclone weirdness
authorChris Nighswonger <cnighswonger@foundations.edu>
Tue, 14 Sep 2010 15:02:42 +0000 (11:02 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 6 Oct 2010 10:11:36 +0000 (06:11 -0400)
commitd8f16da1802357ad5935d0db91a07a2013865249
treee8b4a1ee2deb028a859f9725ed16c1adc0ab7755
parentdfaa0e9d3599f6ea37e89508b428f4e76e6f7f4c
Bug 4867 - cannot clone subfields in marc editor, other clone/unclone weirdness

When the clone/unclone plus/minus were replaced with images the <span> tags were inadvertantly deleted
causing the js to loose its ability to identify the clone/unclone links and properly udpate the indexes.
The resulting incorrect indexes caused various weirdnesses to result when one attempted to clone/unclone
subfields.

This patch simply adds classes to the two links and updates the js to identify the links based on class.

Thanks to owen for his help in chasing this down.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl