https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42550
--- Comment #3 from Owen Leonard <[email protected]> --- Created attachment 198735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198735&action=edit Bug 42550: Remove JS error from report list if none exist If there are no saved SQL reports, the "rtable" variable is empty and triggers an error when called later. Uncaught TypeError: can't access property "DataTable", rtable is undefined Test plan: /cgi-bin/koha/reports/guided_reports.pl?op=list Without reports => Without this patch there is a JS error in the console => With the patch the error is gone Signed-off-by: Owen Leonard <[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/
