Bug 17477: Duplicating a subfield yields an empty subfield tag
commitfbe75e66ccb93a6a4d973e3066ca1ebad169a5b6
authorHector Castro <hector.hecaxmmx@gmail.com>
Thu, 20 Oct 2016 14:57:46 +0000 (20 08:57 -0600)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 14:12:22 +0000 (21 14:12 +0000)
tree1a029632b550394516baabe14e5b53951faf8715
parent31cb200e0d97106f6e2a009b4cbbd0a295bbaaf5
Bug 17477: Duplicating a subfield yields an empty subfield tag

The problem only when clone a textareas in 5XX

Steps to reproduce error:
- On the cataloging screen (basic screen), create a new record
- Go to the 5xx fields
- Put something on the 521$a subfield or other textareas (e.g. 520$u or
 583$x)
- Clone the subfield
=> FAIL: The subfield correctly doesn't include the original data,
BUT it doesn't have the subtield tag either.

- Apply patch
- Clean cache browser and reload page
- Repeat steps above
- Verify that works as expected

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/cataloging.js