Bugzilla – Attachment 4565 Details for
Bug 6556
The popup menu in the Z39.50 search results doesn't point to the correct record.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects the popup menu links in the z3950 search results.
0001-Corrects-the-popup-menu-links-in-the-z3950-search-re.patch (text/plain), 2.65 KB, created by
Frédérick Capovilla
on 2011-07-05 18:53:47 UTC
(
hide
)
Description:
Corrects the popup menu links in the z3950 search results.
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-07-05 18:53:47 UTC
Size:
2.65 KB
patch
obsolete
>From 9f9b454c3b1269ed563654c7445d3d3234430520 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Tue, 5 Jul 2011 14:28:59 -0400 >Subject: [PATCH] Corrects the popup menu links in the z3950 search results. > >The popup menu's options didn't link to the correct breedingid. >--- > .../prog/en/modules/acqui/z3950_search.tmpl | 5 +++-- > .../prog/en/modules/cataloguing/z3950_search.tmpl | 5 +++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tmpl >index 2219dfa..452c1f8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tmpl >@@ -38,6 +38,9 @@ $.tablesorter.addParser({ > var $tgt = $(event.target); > $(".linktools").hide(); > $("tr").removeClass("selected"); >+ var row = $(this).parent(); >+ row.addClass("selected"); >+ > if($tgt.is("a")||$tgt.is(":nth-child(5)")||$tgt.is(":nth-child(6)")||$tgt.is(":nth-child(7)")||$tgt.is(":nth-child(8)")){ > return true; > } else { >@@ -46,8 +49,6 @@ $.tablesorter.addParser({ > var left = position.left+5; > $(".linktools",row).show().css("position","absolute").css("top",top).css("left",left); > } >- var row = $(this).parent(); >- row.addClass("selected"); > }); > }); > //]]> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl >index f0b11f8..233784b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl >@@ -41,6 +41,9 @@ $(document).ready(function(){ > var $tgt = $(event.target); > $(".linktools").hide(); > $("tr").removeClass("selected"); >+ var row = $(this).parent(); >+ row.addClass("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)")){ > return true; > } else { >@@ -49,8 +52,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"); > }); > }); > >-- >1.5.6.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 6556
: 4565