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 Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates 2019-02-19 13:52:15 +00:00
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 Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
merge.tt Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates 2019-02-19 13:52:15 +00:00
moveitem.tt Bug 20044: Switch single-column templates to Bootstrap grid: Cataloging 2018-10-24 13:05:57 +00:00
z3950_auth_search.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
z3950_search.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00