]> git.koha-community.org Git - koha.git/commit
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)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 19 Nov 2011 22:02:52 +0000 (17:02 -0500)
commitb7e29b201ac85c2483b1d7877e330bc9f3acee2d
tree027129c8e24a55344d01a40fbf7a634bef3b76c1
parent35eb4ced52459a8c4e84a8cd16ff4fa76be15c58
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>
(cherry picked from commit 6dac7273fbc2eff7805d2a9bda1eb9a275962c00)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt