[Koha-bugs] [Bug 31609] JavaScript error on Additional contents main page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 30 09:53:39 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31609
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
The error is still present on the list view of Tools/Pages
Uncaught TypeError: firstTab[0] is undefined
<anonymous>
https://master.rijkskoha.nl:28443/cgi-bin/koha/tools/additional-contents.pl?category=pages:1132
jQuery 13
Template code:
let firstTab = $("#tabs a:first");
firstTab.tab("show");
initTinyMce( firstTab[0].hash );
There should probably be a check on firstTab first :)
The <div id="tabs" class="toptabs"> belongs to the detail page and not to the
list view on the main page.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list