Bugzilla – Attachment 39529 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]
Bug 14276: Keep highlight on the active item in item editor
Bug-14276-Keep-highlight-on-the-active-item-in-ite.patch (text/plain), 2.11 KB, created by
Jonathan Druart
on 2015-05-26 14:16:42 UTC
(
hide
)
Description:
Bug 14276: Keep highlight on the active item in item editor
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-26 14:16:42 UTC
Size:
2.11 KB
patch
obsolete
>From e50d3ae2ffbfbe2bddda5d7d9c946540401cd54c 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] 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> >--- > .../intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 11 ++--------- > 1 file 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 9cdc1cf..8c60023 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 %] >-- >2.1.0
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