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

Owen Leonard oleonard at athenscounty.lib.oh.us
Wed Jun 14 23:05:59 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Owen Leonard <oleonard>	06/06/14 21:05:59

Modified files:
	koha-tmpl/intranet-tmpl/default/en/acqui.simple: addbiblio.tmpl 

Log message:
	Minor correction to prevent javascript error when less than 10 tabs are present

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.26&r2=1.33.2.27

Patches:
Index: addbiblio.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl,v
retrieving revision 1.33.2.26
retrieving revision 1.33.2.27
diff -u -b -r1.33.2.26 -r1.33.2.27
--- addbiblio.tmpl	14 Jun 2006 15:40:18 -0000	1.33.2.26
+++ addbiblio.tmpl	14 Jun 2006 21:05:59 -0000	1.33.2.27
@@ -141,13 +141,19 @@
 		link = "link"+i;
 		if (numlayer==i) {
 			with(document){
+			if (document.getElementById(ong)){
 			document.getElementById(ong).style.visibility="visible";
+			}
+			if(document.getElementById(link)){
 			document.getElementById(link).style.color="#000066";
 			document.getElementById(link).style.backgroundColor="#FFFFCC";
 			}
+			}
 		} else {
 			with(document){
+			if (document.getElementById(ong)){
 			document.getElementById(ong).style.visibility="hidden";
+			}
 			if (document.getElementById(link)) {
 			document.getElementById(link).style.color="#669999";
 			document.getElementById(link).style.backgroundColor="#D8DEB8";





More information about the Koha-cvs mailing list