Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Owen Leonard 4d3144310c Bug 22045: (follow-up) Fix tab-switching when some tab numbers are missing
This patch changes the way tab-switching is done so that it switching
tabs based on tab id rather than tab index. Using tab index doesn't work
when the tab number doesn't match the tab index.

To test, apply the patch and load a record or blank editor using a MARC
framework which doesn't include one or more tabs (for instance, by
deleting the entries in the framework for one tab:

DELETE FROM marc_subfield_structure WHERE frameworkcode = 'KT' AND tab = 4;

...backup first). In the MARC editor the numbered tabs should exclude
that number. Tab-switching should work correctly.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-03-11 12:32:12 +00:00
..
value_builder
addbiblio.tt Bug 22045: (follow-up) Fix tab-switching when some tab numbers are missing 2019-03-11 12:32:12 +00:00
addbooks.tt Bug 22422: improve item location display with class "shelvingloc" 2019-03-11 10:40:32 +00:00
additem.tt Bug 21091: Move add item template JavaScript to a separate file 2019-03-11 11:57:03 +00:00
editor.tt Bug 21335: Remove redundant includes of right-to-left.css 2019-02-22 13:34:05 +00:00
linkitem.tt
merge.tt
moveitem.tt
z3950_auth_search.tt
z3950_search.tt