Bugzilla – Attachment 6484 Details for
Bug 7280
Can't place hold without selecting on list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7280 - can't place hold without selecting on list
Bug-7280---cant-place-hold-without-selecting-on-li.patch (text/plain), 1.25 KB, created by
Chris Cormack
on 2011-12-01 08:12:36 UTC
(
hide
)
Description:
Bug 7280 - can't place hold without selecting on list
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-12-01 08:12:36 UTC
Size:
1.25 KB
patch
obsolete
>From 0dab5ac8814fbb50c0824bf452e2760d58e4a548 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 30 Nov 2011 12:50:35 -0500 >Subject: [PATCH] Bug 7280 - can't place hold without selecting on list > >JavaScript was looking for clicks on links with class "hold," >and incorrectly triggering the check for checked checkboxes. >Making the selection stricter lets the JS function as it should >while allowing people to place individual holds directly. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../opac-tmpl/prog/en/modules/opac-shelves.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt >index 528b8a7..709a444 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt >@@ -70,7 +70,7 @@ $(function() { > $("a.print").show(); > > [% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %]$("#placehold").html("<a href=\"#\" class=\"hold tag_hides\">"+_('Place Hold')+"<\/a>"); >- $("a.hold").click(function(){ >+ $("#toolbar a.hold").click(function(){ > holdSelections(); > return false; > });[% END %][% END %] >-- >1.7.5.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 7280
:
6475
| 6484 |
7579
|
7580
|
7581