https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42277 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 196815 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196815&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 Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.