koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/acqui.s... [rel_2_2]


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/acqui.s... [rel_2_2]
Date: Wed, 11 Oct 2006 14:47:40 +0000

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 + "')");
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]