From 8ce241f9399b543c8ac6b531b5829532c5e583b8 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 23 Sep 2005 09:50:08 +0000 Subject: [PATCH] with new menu, the form is now 0, no more 1 ! --- .../intranet-tmpl/default/en/authorities/authorities.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl index ef73e38d27..64e18b3b1c 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl @@ -150,7 +150,7 @@ function Check(f) { alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)"); alert(alertString2); } else { - document.forms[1].submit(); + document.forms[0].submit(); } } function Dopop(link,i) { @@ -178,8 +178,8 @@ function PopupZ3950() { } function AddField(field) { - document.forms[1].op.value = "addfield"; - document.forms[1].addfield_field.value=field; + document.forms[0].op.value = "addfield"; + document.forms[0].addfield_field.value=field; document.f.submit(); } -- 2.39.5