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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 19 Jul 2023 10:14:22 +0000 (10:14 +0000)
commit4492065f9e5d33136754a73735907f3e4b039f79
treee485ad4ced51d360909a834499016c171f52bb8f
parent69657cae576915b624fd33f57ac76eea35179c5a
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>
(cherry picked from commit 05f5c83140860a292916a522ae042c2dbf69dc58)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt