Bug 38257: Fix cart pop up functionalities
Almost all functionalities in cart pop up were broken
due changes made in bug 37033. Also following errors
were displayed in browsers console:
> Uncaught TypeError: antiClickjack is null
> Uncaught TypeError: $(...).dataTable is not a function
This happens because when 'intranet-bottom.inc' is loaded
after other .inc files in page.
To test:
1. Search for items and add one or more search results to your cart.
2. Open cart.
3. Attempt to use one or more functionalities (download, remove item etc.).
=> Either nothing happens or table is loaded again with no items in
table. However items are still displayed in cart when it's opened again.
4. Apply this patch, restart services if needed.
5. Again attempt to download, remove items, print etc. from cart
=> Everything should now work as expected.
Sponsored-by: Koha-Suomi Oy
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 9cae91c7da)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
71900a9508
commit
291b4c074b
|
|
@ -355,6 +355,7 @@
|
|||
</div> [% # /.row %]
|
||||
</div> [% # /.main.container-fluid %]
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
|
||||
[% INCLUDE js_includes.inc %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
[% Asset.js("js/cart.js") | $raw %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue