Bugzilla – Attachment 4171 Details for
Bug 6367
'Preview MARC' hover button does not show correct MARC record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-bug-6367-Preview-MARC-hover-button-does-not-.patch (text/plain), 1.60 KB, created by
Owen Leonard
on 2011-05-18 18:07:45 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-05-18 18:07:45 UTC
Size:
1.60 KB
patch
obsolete
>From e1716501c198aed3859746af2f7d7fd90243317f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 18 May 2011 14:04:53 -0400 >Subject: [PATCH] Fix for bug 6367 - 'Preview MARC' hover button does not show correct MARC record >Content-Type: text/plain; charset="utf-8" > >Misplaced line of JavaScript meant that the menu always grabbed >the ID of the last item in the search results. >--- > .../prog/en/modules/cataloguing/z3950_search.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >index 1ee7823..4a0e323 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >@@ -40,6 +40,7 @@ $(document).ready(function(){ > /* Inline edit/delete links */ > $("td").click(function(event){ > var $tgt = $(event.target); >+ var row = $(this).parent(); > $(".linktools").hide(); > $("tr").removeClass("selected"); > if($tgt.is("a")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")||$tgt.is(":nth-child(9)")||$tgt.is(":nth-child(10)")){ >@@ -50,7 +51,6 @@ $(document).ready(function(){ > var left = position.left+5; > $(".linktools",row).show().css("position","absolute").css("top",top).css("left",left); > } >- var row = $(this).parent(); > row.addClass("selected"); > }); > $("form[name='f']").submit(function(){ >-- >1.7.3 >
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 6367
:
4171
|
4172