]> 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>
Sun, 20 Nov 2011 02:06:57 +0000 (21:06 -0500)
commitf74ed5ad8a3b4878f7f89e82ba0a55a019a341aa
treebed015f2f587ae73cc970ac4128fe33420c454a3
parent29395af9796095b2b62c4307a7ef7d3fba6931d2
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