Bug 6977: Follow-up patch : catch CloneSubfield errors
authorFrédérick Capovilla <frederick.capovilla@libeo.com>
Fri, 21 Oct 2011 16:04:03 +0000 (12:04 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 18 Nov 2011 21:45:45 +0000 (22:45 +0100)
commit6dac7273fbc2eff7805d2a9bda1eb9a275962c00
tree4a38c3d4361e9adaaec9619e2ed26918d763a4dd
parent042f89e939984b2b9e568622e0b99c95db09750e
Bug 6977: Follow-up patch : catch CloneSubfield errors

A javascript error could occur if the CloneSubfield function failed for
any reason. This would prevent the popup from disappearing.

Example : Importing informations of a UNIF_TITLE authority with multiple
$x subfields in the biblio's 440 field. 440$x isn't repeatable, so an
error occurs when trying to clone it.

http://bugs.koha-community.org/show_bug.cgi?id=6977
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt