Bugzilla – Attachment 34094 Details for
Bug 12428
"OPAC info" is not displayed in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12428 [3.16.x] "OPAC info" is not displayed in the OPAC
Bug-12428-316x-OPAC-info-is-not-displayed-in-the-O.patch (text/plain), 2.53 KB, created by
Owen Leonard
on 2014-12-03 14:30:33 UTC
(
hide
)
Description:
Bug 12428 [3.16.x] "OPAC info" is not displayed in the OPAC
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-12-03 14:30:33 UTC
Size:
2.53 KB
patch
obsolete
>From 4755624cdac48256628231f0599eb6696ef9b780 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 3 Dec 2014 09:22:11 -0500 >Subject: [PATCH] Bug 12428 [3.16.x] "OPAC info" is not displayed in the OPAC >Content-Type: text/plain; charset="utf-8" > >This patch changes the footer include, adding an alias for the jQueryUI >tooltip function to prevent conflict with Bootstrap's function of the >same name. > >To test, you must have at least two libraries configured with "OPAC >info" for display in the OPAC. > >Modify the holdings of a title so that there is at least one item which >has different holding and home branches matching your library configured >above. > >View the detail page for that record. Hovering your cursor over the >library name in the "Location" column should display the branch >information you configured for that library in a tooltip. >--- > .../bootstrap/en/includes/opac-bottom.inc | 4 ++++ > .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 7e55007..4128061 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -77,6 +77,10 @@ > <!-- JavaScript includes --> > <script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery.js"></script> > <script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery-ui.js"></script> >+<script type="text/javascript"> >+// Resolve name collision between jQuery UI and Twitter Bootstrap >+$.widget.bridge('uitooltip', $.ui.tooltip); >+</script> > <script type="text/javascript" src="[% interface %]/[% theme %]/lib/bootstrap/js/bootstrap.min.js"></script> > <script type="text/javascript" src="[% interface %]/[% theme %]/js/global.js"></script> > <script type="text/javascript"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 364ad3e..f7c37dc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1298,7 +1298,7 @@ > > $(document).ready(function() { > $('#bibliodescriptions').tabs(); >- $(".branch-info-tooltip-trigger").tooltip({ >+ $(".branch-info-tooltip-trigger").uitooltip({ > position: { my: "left+15 center", at: "right center" }, > show: 50, > hide: 50, >-- >1.7.9.5
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 12428
:
28877
|
29060
|
29062
|
29179
|
34094
|
34692
|
34722