Bugzilla – Attachment 39698 Details for
Bug 14276
Keep highlight on the active item in item editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14276: Keep highlight on the active item in item editor
PASSED-QA-Bug-14276-Keep-highlight-on-the-active-i.patch (text/plain), 2.17 KB, created by
Kyle M Hall (khall)
on 2015-05-29 15:50:20 UTC
(
hide
)
Description:
[PASSED QA] Bug 14276: Keep highlight on the active item in item editor
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-05-29 15:50:20 UTC
Size:
2.17 KB
patch
obsolete
>From a9ea792aac945929fb392917fba037508af01f22 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 26 May 2015 14:52:07 +0200 >Subject: [PATCH] [PASSED QA] Bug 14276: Keep highlight on the active item in item editor > >The highlight only works on even items. >This patch should resolve it. > >Test plan: >Edit biblio with multiple items. >Verify that the highlight is visible on the selected item you edit. >And that there is no highlight for a new item. > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/cataloguing/additem.tt | 11 ++--------- > 1 files changed, 2 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 8c4f419..fdbb53f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -105,13 +105,6 @@ function confirm_deletion(biblionumber,itemnumber) { > $("#row"+itemnumber).attr("class",""); > } > } >- >-$(document).ready(function() { >- $("#cataloguing_additem_itemlist tr").hover( >- function () {$(this).addClass("highlight");}, >- function () {$(this).removeClass("highlight");} >- ); >-}); > //]]> > </script> > <link type="text/css" rel="stylesheet" href="[% themelang %]/css/addbiblio.css" /> >@@ -162,9 +155,9 @@ $(document).ready(function() { > [% FOREACH item_loo IN item_loop %] > [% IF ( item_loo.itemnumber == itemnumber) %] > [% IF item_loo.nomod %] >- <tr id="row[% item_loo.itemnumber %]" class="active"> >+ <tr id="row[% item_loo.itemnumber %]" class="active highlight"> > [% ELSE %] >- <tr id="row[% item_loo.itemnumber %]" class="active editable"> >+ <tr id="row[% item_loo.itemnumber %]" class="active editable highlight"> > [% END %] > [% ELSE %] > [% IF item_loo.nomod %] >-- >1.7.2.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 14276
:
39528
|
39529
| 39698