Bug 14276: Keep highlight on the active item in item editor
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 26 May 2015 12:52:07 +0000 (14:52 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 7 Jun 2015 08:45:01 +0000 (20:45 +1200)
commitf1d5fffea6688e72d17afd1251e60e2f95f466b8
tree3d8380063988168e700523738b352140fc37eb0e
parent1a346c35fe1f4c16f9b5c9d420f7e016b9f924b8
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 83c6817a86de68fb08cb73aef3b8b46d12587116)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt