Lines 1-10
Link Here
|
1 |
//z3950_search.js for Authorities, Bib records and Acquisitions module |
1 |
//z3950_search.js for Authorities, Bib records and Acquisitions module |
2 |
function Import(Breeding, recordid, AuthType, FrameworkCode) { |
2 |
function Import(Breeding, recordid, AuthType, FrameworkCode, index) { |
3 |
|
3 |
|
4 |
if ( AuthType == false ) { |
4 |
if ( AuthType == false ) { |
5 |
opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+recordid+"&z3950=1&frameworkcode="+FrameworkCode+"&breedingid="+Breeding; |
5 |
opener.document.location="../cataloguing/addbiblio.pl?biblionumber="+recordid+"&z3950=1&frameworkcode="+FrameworkCode+"&breedingid="+Breeding; |
6 |
} else { |
6 |
} else { |
7 |
opener.document.location="../authorities/authorities.pl?breedingid="+Breeding+"&authtypecode="+AuthType+"&authid="+recordid; |
7 |
opener.document.location="../authorities/authorities.pl?breedingid="+Breeding+"&authtypecode="+AuthType+"&authid="+recordid+"&index="+index; |
8 |
} |
8 |
} |
9 |
window.close(); |
9 |
window.close(); |
10 |
return false; |
10 |
return false; |
Lines 87-96
$( document ).ready( function() {
Link Here
|
87 |
var data_authid = $( this ).data( "authid" ); |
87 |
var data_authid = $( this ).data( "authid" ); |
88 |
var data_biblionumber = $( this ).data( "biblionumber" ); |
88 |
var data_biblionumber = $( this ).data( "biblionumber" ); |
89 |
var data_frameworkcode = $( this ).data( "frameworkcode" ); |
89 |
var data_frameworkcode = $( this ).data( "frameworkcode" ); |
|
|
90 |
var data_index = $( this ).data( "index" ); |
90 |
if ( data_headingcode == undefined ) { |
91 |
if ( data_headingcode == undefined ) { |
91 |
Import( data_breedingid, data_biblionumber, false , data_frameworkcode ); |
92 |
Import( data_breedingid, data_biblionumber, false , data_frameworkcode ); |
92 |
} else { |
93 |
} else { |
93 |
Import( data_breedingid, data_authid, data_headingcode ); |
94 |
Import( data_breedingid, data_authid, data_headingcodei, "", data_index ); |
94 |
} |
95 |
} |
95 |
return false; |
96 |
return false; |
96 |
}); |
97 |
}); |
97 |
- |
|
|