[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/acqui.s... [rel_2_2]
Antoine Farnault
antoine at koha-fr.org
Wed Oct 11 16:47:40 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Antoine Farnault <toins> 06/10/11 14:47:40
Modified files:
koha-tmpl/intranet-tmpl/default/en/acqui.simple: addbiblio.tmpl
Log message:
'+' don't be deleted when cloning a subfield.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.33.2.33&r2=1.33.2.34
Patches:
Index: addbiblio.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/Attic/addbiblio.tmpl,v
retrieving revision 1.33.2.33
retrieving revision 1.33.2.34
diff -u -b -r1.33.2.33 -r1.33.2.34
--- addbiblio.tmpl 27 Sep 2006 14:17:29 -0000 1.33.2.33
+++ addbiblio.tmpl 11 Oct 2006 14:47:40 -0000 1.33.2.34
@@ -318,12 +318,8 @@
if(isNaN(NumTabIndex)) NumTabIndex = 0;
clone.setAttribute('tabindex',NumTabIndex+1);
- var ButtonPlus;
var CloneButtonPlus;
try{
- ButtonPlus = original.getElementsByTagName('a')[0]; // getting the '<a href=...>+</a>
- ButtonPlus.parentNode.removeChild(ButtonPlus); // removing the '+' button
-
CloneButtonPlus = clone.getElementsByTagName('a')[0];
CloneButtonPlus.setAttribute('onclick',"cloneSubfield('" + index + index + "')");
}
More information about the Koha-cvs
mailing list