Bug 8064: Change the way target record is built.
commit44c4b9310d651d17c5e2163b6723fc56ba8e0c46
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 6 Nov 2013 11:17:45 +0000 (6 12:17 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Nov 2015 18:08:57 +0000 (9 15:08 -0300)
tree14c5b46a951e3746270af780fc5dd8f8f26051e2
parent6143a2bf440ca44968c6609db8f3663ce3a3c9da
Bug 8064: Change the way target record is built.

Instead of copying/removing a piece of DOM in target record each time a
checkbox is checked/unchecked, the target record is *entirely* rebuilt
each time a checkbox is checked/unchecked.
This is slower but allow for a more consistent and less error-prone
behaviour.

This patch also fix the mandatory check for subfields

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/merge-record-strings.inc
koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc
koha-tmpl/intranet-tmpl/prog/en/js/merge-record.js
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt