Bugzilla – Attachment 47953 Details for
Bug 11937
opac link doesn't open in new window
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11937 - opac link doesn't open in new window
Bug-11937---opac-link-doesnt-open-in-new-window.patch (text/plain), 1.36 KB, created by
Marcel de Rooy
on 2016-02-12 08:05:45 UTC
(
hide
)
Description:
Bug 11937 - opac link doesn't open in new window
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-02-12 08:05:45 UTC
Size:
1.36 KB
patch
obsolete
>From 1ef060bb8d1ad31138b587788da340d013b62bcd Mon Sep 17 00:00:00 2001 >From: Juan Romay Sieira <juan.sieira@xercode.es> >Date: Tue, 9 Feb 2016 17:39:32 +0100 >Subject: [PATCH] Bug 11937 - opac link doesn't open in new window >Content-Type: text/plain; charset=utf-8 > >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> >--- > koha-tmpl/intranet-tmpl/js/browser.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/js/browser.js b/koha-tmpl/intranet-tmpl/js/browser.js >index 9f5a1ac..1557243 100644 >--- a/koha-tmpl/intranet-tmpl/js/browser.js >+++ b/koha-tmpl/intranet-tmpl/js/browser.js >@@ -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; > }); >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11937
:
47819
|
47839
| 47953