]> git.koha-community.org Git - koha.git/commit
Bug 22973: Remove type attribute from script tags: Staff client includes 2/2
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 May 2019 12:37:45 +0000 (12:37 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 May 2019 10:25:21 +0000 (10:25 +0000)
commit9c4f36862261ed1be89770c90f0cfa8b019f5226
tree0369fe08456d247bf48c6e618029757e957396fe
parent7d42e29c8b8cd913b052d10525c4d0b2cb36fc0d
Bug 22973: Remove type attribute from script tags: Staff client includes 2/2

This patch removes the "type" attribute from <script> tags in several
staff client include files. Also removed: Obsolete "//<![CDATA[ //]]>"
markers.

This patch also makes minor indentation changes, so diff using the "-w"
flag.

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

 - Installer -> Onboarding (uses installer-strings.inc,
   validator-strings.inc)
 - Patrons -> Patron details -> Change password (uses
   password_check.inc)
 - Patrons -> Patron details -> Print summary (slip-print.inc)
 - Circulation -> Check out (strings.inc, timepicker.inc)
 - Cataloging -> New from Z39.50/SRU (z3950_search.inc)

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

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/installer-strings.inc
koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc
koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc
koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc
koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc
koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc
koha-tmpl/intranet-tmpl/prog/en/includes/z3950_search.inc