From 9a1b5568790781939b691be0e0132fda413bcb69 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Thu, 27 Sep 2007 17:08:28 +0200 Subject: [PATCH] BUGFIX : create a unique div for each subfield otherwise, when you have a repeated field, when editing biblio, the cloneSubfield (+) button will clone the subfield in the 1st field wherever you click ! Signed-off-by: Chris Cormack --- cataloguing/addbiblio.pl | 1 + .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 4616f61aa6..8703cb4a24 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -290,6 +290,7 @@ sub create_input { index => $index_tag, id => "tag_".$tag."_subfield_".$subfield."_".$index_tag."_".$index_subfield, value => $value, + random => CreateKey(), ); if($subfield eq '@'){ $subfield_data{id} = "tag_".$tag."_subfield_00_".$index_tag."_".$index_subfield; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index 66daac12b9..800986d05d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -523,7 +523,7 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? -
+
">
-- 2.39.5