@@ -, +, @@ work - Edit a record which uses the default framework. - Confirm that the Z39.50/SRU search button works correctly to trigger the pop-up window. - Repeat the test with a record which uses a different framework. --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -354,7 +354,8 @@ function Check(){ * check if z3950 mandatories are set or not */ function GetZ3950Terms(){ - var strQuery="&frameworkcode="+document.forms['f'].Frameworks.value; + var frameworkcode = document.getElementById("frameworkcode").value; + var strQuery="&frameworkcode=" + frameworkcode; 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 %]"); --