Bugzilla – Attachment 47839 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.35 KB, created by
Marc Véron
on 2016-02-10 10:27:42 UTC
(
hide
)
Description:
Bug 11937 - opac link doesn't open in new window
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-02-10 10:27:42 UTC
Size:
1.35 KB
patch
obsolete
>From c0ae2d6cbe1483b623b08c5f3ceea07d661a127c 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 Véron <veron@veron.ch> >--- > 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