Koha/koha-tmpl/intranet-tmpl
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
..
js Bug 19390: Make jQuery selector more specific, so OPAC view link can open in new tab 2018-08-14 11:39:05 +00:00
lib Bug 16251: Fix value of material select for Rancor 008 widget 2019-03-07 20:49:30 +00:00
prog Bug 22045: (follow-up) Fix tab-switching when some tab numbers are missing 2019-03-11 12:32:12 +00:00