View | Details | Raw Unified | Return to bug 17194
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +2 lines)
Lines 354-360 function Check(){ Link Here
354
 * check if z3950 mandatories are set or not
354
 * check if z3950 mandatories are set or not
355
 */
355
 */
356
function GetZ3950Terms(){
356
function GetZ3950Terms(){
357
 var strQuery="&frameworkcode="+document.forms['f'].Frameworks.value;
357
    var frameworkcode = document.getElementById("frameworkcode").value;
358
    var strQuery="&frameworkcode=" + frameworkcode;
358
    var mandatories = new Array();
359
    var mandatories = new Array();
359
    var mandatories_label = new Array();
360
    var mandatories_label = new Array();
360
    [% 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 %]");
361
    [% 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 %]");
361
- 

Return to bug 17194