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

(-)a/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js (-5 / +6 lines)
Lines 1-13 Link Here
1
/* global __ total_pages */
1
/* global __ total_pages */
2
//z3950_search.js for Authorities, Bib records and Acquisitions module
2
//z3950_search.js for Authorities, Bib records and Acquisitions module
3
function Import(Breeding, recordid, AuthType, FrameworkCode) {
3
function Import(Breeding, recordid, AuthType, FrameworkCode) {
4
4
    target = (window.opener != null) ? window.opener.document : document;
5
    if ( AuthType == false ) {
5
    if ( AuthType == false ) {
6
        opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+recordid+"&z3950=1&frameworkcode="+FrameworkCode+"&breedingid="+Breeding;
6
        target.location="../cataloguing/addbiblio.pl?biblionumber="+recordid+"&z3950=1&frameworkcode="+FrameworkCode+"&breedingid="+Breeding;
7
    } else {
7
    } else {
8
        opener.document.location="../authorities/authorities.pl?breedingid="+Breeding+"&authtypecode="+AuthType+"&authid="+recordid;
8
        target.location="../authorities/authorities.pl?breedingid="+Breeding+"&authtypecode="+AuthType+"&authid="+recordid;
9
    }
10
    if (window.opener != null) {
11
        window.close();
9
    }
12
    }
10
    window.close();
11
    return false;
13
    return false;
12
14
13
}
15
}
14
- 

Return to bug 27338