Bug 23928

Summary: Move saved reports JavaScript into separate file
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Owen Leonard 2019-10-30 16:40:58 UTC
Coding guideline JS1 (https://wiki.koha-community.org/wiki/Coding_Guidelines#JS1:_Embedding_JavaScript_blocks_in_templates) says "Whenever possible JavaScript should be placed in a separate file."

I propose to move most of the JS embedded in reports/guided_reports_start.tt to a separate file.
Comment 1 David Cook 2023-08-23 05:18:46 UTC
I didn't realize that we had a coding guideline for this. That's awesome. I'd really like us to make more of an effort on this one to enable Content-Security-Policy going forward.