https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38257
--- Comment #9 from Emmi Takkinen <[email protected]> --- (In reply to Aleisha Amohia from comment #8) > Sorry team I'm not able to reproduce the bug at all. > > Can you provide more information about what might cause the cart to break so > I can properly test this? Are you testing with item search cart or e.g. acquisitions cart? This is related to the former one. In bug 37033 we added this line to basket.tt file: >[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] It was added after other include and asset files in the same file: >[% INCLUDE js_includes.inc %] >[% INCLUDE 'datatables.inc' %] >[% Asset.js("js/cart.js") | $raw %] >[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] It seems that this prevents those other files from working properly, leading to every functionality of the cart not working and following errors in browsers console (last one strongly suggest that datatables.inc is not loaded properly): > Uncaught TypeError: antiClickjack is null > Uncaught TypeError: $(...).dataTable is not a function Moving intranet-bottom.inc as before all those other files fixed most of the functionalities, but downloading the cart was still not working. In intranet-bottom.inc file js_includes.inc is also declared at the bottom of the file. So my guess is that somehow declaring js_includes.inc both in intranet-bottom.inc and basket.tt prevents js_includes.inc from working. After moving it from basket.tt, downloading started working again. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
