From: Ian Walls <[email protected]>

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 <[email protected]>
---
 .../prog/en/modules/cataloguing/addbiblio.tt       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 91d926e..8155be1 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 %]");
-- 
1.7.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to