|
Lines 2061-2082
Link Here
|
| 2061 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
2061 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
| 2062 |
} |
2062 |
} |
| 2063 |
|
2063 |
|
| 2064 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
|
|
| 2065 |
novSelect.loadContentForQuery( |
| 2066 |
{ |
| 2067 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
| 2068 |
ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
| 2069 |
version : '2.1' |
| 2070 |
}, |
| 2071 |
'[% NovelistSelectProfile | html %]', |
| 2072 |
'[% NovelistSelectPassword | html %]', |
| 2073 |
function(d){ |
| 2074 |
if ( d.length > 0 ){ //If no content |
| 2075 |
$(".NovelistSelect").show(); |
| 2076 |
} |
| 2077 |
}); |
| 2078 |
[% END %] |
| 2079 |
|
| 2080 |
if (prefs.OPACShelfBrowser){ |
2064 |
if (prefs.OPACShelfBrowser){ |
| 2081 |
// Focus on shelf browser if present |
2065 |
// Focus on shelf browser if present |
| 2082 |
var shelfbrowser = $("#shelfbrowser"); |
2066 |
var shelfbrowser = $("#shelfbrowser"); |
|
Lines 2262-2265
Link Here
|
| 2262 |
|
2246 |
|
| 2263 |
} |
2247 |
} |
| 2264 |
</script> |
2248 |
</script> |
|
|
2249 |
|
| 2250 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
| 2251 |
<script> |
| 2252 |
$(document).ready(function() { |
| 2253 |
novSelect.loadContentForQuery( |
| 2254 |
{ |
| 2255 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
| 2256 |
ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
| 2257 |
version : '2.1' |
| 2258 |
}, |
| 2259 |
'[% NovelistSelectProfile | html %]', |
| 2260 |
'[% NovelistSelectPassword | html %]', |
| 2261 |
function(d){ |
| 2262 |
if ( d.length > 0 ){ //If no content |
| 2263 |
$(".NovelistSelect").show(); |
| 2264 |
} |
| 2265 |
} |
| 2266 |
); |
| 2267 |
}); |
| 2268 |
</script> |
| 2269 |
[% END %] |
| 2270 |
|
| 2265 |
[% END %] |
2271 |
[% END %] |
| 2266 |
- |
|
|