Bug 34251: When using the fast add framework in addbiblio.pl there is thrown a JS...
authorJan Kissig <jkissig@th-wildau.de>
Wed, 12 Jul 2023 08:40:32 +0000 (10:40 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Jul 2023 08:19:07 +0000 (09:19 +0100)
commit05f5c83140860a292916a522ae042c2dbf69dc58
treef17a81404bf5cd5b89110229da70df58edf70c9f
parente7c83d93cf7f59019c7245930522dc47f72487de
Bug 34251: When using the fast add framework in addbiblio.pl there is thrown a JS error in selectTab( "#tab0XX_panel" );

This is because no nav tabs are build in addbiblio.tt as BIG_LOOP has a
length(size) of 1

To test:

1) go to More>Cataloging
2) click +New record
3) Click Settings> Fast add framework
4) take a look on console
5) try selecting a different framework now, will have no effect
6) apply patch and redo steps 1 to 5
7) there should be no error in console and a change in settings works a
   expected

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e3ff3a62048731c130e7185f7ac81e07f41f6ff9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt