@@ -, +, @@ item being edited --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 8 ++++++++ .../prog/en/modules/cataloguing/additem.tt | 14 +++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -155,4 +155,12 @@ a.tagnum { .floating { -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5); box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5); +} + +tr.active td { + background-color: #FFFFCC; +} + +tr.active.highlight td { + background-color: #FEF4B4; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -87,8 +87,8 @@ function confirm_deletion(biblionumber,itemnumber) { $(document).ready(function() { $("#cataloguing_additem_itemlist tr").hover( - function () {$(this).attr("class","highlight");}, - function () {$(this).attr("class","" );} + function () {$(this).addClass("highlight");}, + function () {$(this).removeClass("highlight");} ); }); //]]> @@ -131,7 +131,11 @@ $(document).ready(function() { [% END %] [% FOREACH item_loo IN item_loop %] + [% IF ( item_loo.itemnumber == itemnumber) %] + + [% ELSE %] + [% END %] [% IF ( item_loo.nomod ) %]  [% ELSE %][% IF ( item_loo.hostitemflag ) %]Edit in host Delink [% ELSE %]Edit @@ -197,8 +201,8 @@ $(document).ready(function() { --> - -