https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42277

--- Comment #1 from Jonathan Druart <[email protected]> ---
Created attachment 196773
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196773&action=edit
Bug 42277: Remove JS error when viewing a subscription

If no orders exist yet, there is a JS error in the console:
Uncaught TypeError: can't access property "DataTable", table is undefined

Test plan:
0. Do no apply this patch
1. Create a new subscription and go to the detail view
2. Open the console and notice the JS error
3. Apply this patch
4. Confirm that the JS error is gone
5. Create an order from this subscription
6. Confirm that the orders table is displayed

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to