From f5ede7ebfae3de9cd03a980ac4675cff04f45b69 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 30 May 2005 16:08:04 +0000 Subject: [PATCH] javascript fix (from sylvain machefert) --- .../intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl index 57b836c632..56e85a377c 100644 --- a/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl @@ -404,7 +404,10 @@ function active(numlayer) document.getElementById(link).style.color="#FFFFFF"; } else { document.getElementById(ong).style.visibility="hidden"; - document.getElementById(link).style.color="#000000"; + if (document.getElementById(link)) + { + document.getElementById(link).style.color="#000000"; + } } } } -- 2.39.5