]> git.koha-community.org Git - koha.git/commit
Bug 23227: Remove type attribute from script tags: Reports
authorOwen Leonard <oleonard@myacpl.org>
Thu, 27 Jun 2019 13:38:50 +0000 (13:38 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 6 Aug 2019 01:40:25 +0000 (01:40 +0000)
commit8de215303f77b4e16890afa4446384a874a29179
treec3af99ccabb3de18ce0cedf30ca234290902ddb2
parent38c3be1c1ae80ea519b4d500cc097a4f3b6f056a
Bug 23227: Remove type attribute from script tags: Reports

This patch removes the "type" attribute from <script> tags in two
reports templates.

To test, apply the patch and confirm that examples of affected pages
work properly without any JavaScript errors in the browser console:

 - Reports -> Dictionary
   - Delete
   - Specifying a date range for a date column
 - Reports -> Items lost
   - Report results
     -> Datatables functionality
     -> Selection tools for export

Validating the HTML source of any of these pages should return no errors
related to the "type" attribute.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: frederik chenier <frederik.chenier@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit d88709ec2d45df6f2a8e90ae7a94f9724b7e8e7e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9c9594ecfad469e0fb1e1f85db7990ab85a80b23)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt