Bug 11937 - opac link doesn't open in new window
Signed-off-by: Juan Romay Sieira <juan.sieira@xercode.es> Patch works as expected. From a biblio detail page, the link 'OPAC view: Open in new window' opens a new browser window. Signed-off-by: Marc Veron <veron@veron.ch> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
parent
4f9f596203
commit
d1ead7313c
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ KOHA.browser = function (searchid, biblionumber) {
|
|||
ev.preventDefault();
|
||||
browseRecords(1);
|
||||
});
|
||||
$('a[href*="biblionumber="]').click(function (ev) {
|
||||
$('a[href*="biblionumber="]').not('a[target="_blank"]').click(function (ev) {
|
||||
ev.preventDefault();
|
||||
window.location = $(this).attr('href') + '&searchid=' + me.searchid;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue