Bugzilla – Attachment 29437 Details for
Bug 12517
Download and send list popups broken in bootstrap OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12517 - Download and send list popups broken in bootstrap OPAC
Bug-12517---Download-and-send-list-popups-broken-i.patch (text/plain), 2.92 KB, created by
Owen Leonard
on 2014-07-02 13:14:40 UTC
(
hide
)
Description:
Bug 12517 - Download and send list popups broken in bootstrap OPAC
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-07-02 13:14:40 UTC
Size:
2.92 KB
patch
obsolete
>From bc0565a609dc730980a51b1813c057366fcc9a9b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 2 Jul 2014 09:10:33 -0400 >Subject: [PATCH] Bug 12517 - Download and send list popups broken in > bootstrap OPAC >Content-Type: text/plain; charset="utf-8" > >A JavaScript error prevents the download list and send list links in the >bootstrap OPAC from functioning correctly. A variable declaration was >removed from basket.js during the creation of the theme but >opac-shelves.tt was not changed accordingly. This patch corrects it. > >To test, view an existing shelf in the bootstrap OPAC and test the >"download list" and "send list" links. They should each trigger popups >without any errors. >--- > .../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 87223bb..a6d9040 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -156,10 +156,10 @@ > <div id="toolbar" class="toolbar clearfix"> > <div class="list-actions"> > <a class="newshelf" href="/cgi-bin/koha/opac-shelves.pl?shelves=1">New list</a> <span class="sep">|</span> >- <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]" class="download" onclick="open(CGIBIN+'opac-downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false;">Download list</a> >+ <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]" class="download" onclick="open('/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false;">Download list</a> > > [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] >- <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]" class="send" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=[% shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> >+ <span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]" class="send" onclick="open('/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]','win_form','scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span> > [% END %] > > <a class="print-small" href="/cgi-bin/koha/opac-shelves.pl" onclick="print(); return false;">Print list</a> >-- >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 12517
:
29437
|
29443
|
29481