From f56dc797546fd9f3037e974ab6f40cb603b33e74 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Tue, 4 Oct 2011 13:24:05 -0400 Subject: [PATCH] Bug 6959: can't import record via Z39.50 from MARC edit page JS to call Z39.50 popup wasn't updated to reflect the change ID values, so the frameworkcode passed was "undefined" instead of "Default" Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 91d926e85b..8155be15b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -238,7 +238,7 @@ function AreMandatoriesNotOk(){ * check if z3950 mandatories are set or not */ function GetZ3950Terms(){ - var strQuery="&frameworkcode="+document.forms['f'].frameworkcode.value; + var strQuery="&frameworkcode="+document.forms['f'].Frameworks.value; var mandatories = new Array(); var mandatories_label = new Array(); [% FOREACH BIG_LOO IN BIG_LOOP %][% FOREACH innerloo IN BIG_LOO.innerloop %][% FOREACH subfield_loo IN innerloo.subfield_loop %][% IF ( subfield_loo.z3950_mandatory ) %]mandatories.push("[% subfield_loo.id %]"); -- 2.39.5