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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 18 Jul 2023 15:46:55 +0000 (12:46 -0300)
commite3ff3a62048731c130e7185f7ac81e07f41f6ff9
treed29ff0891d6cf1d677786ac16465c32820700000
parentfbc21148e73547c0e557f106c02dcedbdcc67807
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>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt