https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42309
--- Comment #3 from David Nind <[email protected]> --- Created attachment 196966 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196966&action=edit Bug 42309: JS error when there are no cash registers This patch corrects a JavaScript error that appears on the cash registers page when there are no cash registers yet. To test : BEFORE applying the patch 0. Make sure there are no cash registers in the database (reset_all if using ktd, or delete them) 1. Enable UseCashRegisters 1.1. Go to Administration > System preferences 1.2. Search for UseCashRegisters 1.3. Set UseCashRegisters to Use 1.4. Click Save all Accounting preferences 2. Open the browser developer tools (F12) and select the Console tab 3. Go to Administration > Cash registers --> Uncaught TypeError: can't access property "DataTable", crtable is undefined 4. Apply the patch 5. Refresh the cash registers page --> The error is gone! Signed-off-by: David Nind <[email protected]> -- 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/
