Bug 22975: Remove type attribute from script tags: Acquisitions
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 May 2019 13:50:07 +0000 (13:50 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 May 2019 10:25:53 +0000 (10:25 +0000)
commit8e9cd13d98f5574cc327c02679f612c4f4e18956
tree3297fb81f26ec833761d5858819a50abef6d89f5
parent9c4f36862261ed1be89770c90f0cfa8b019f5226
Bug 22975: Remove type attribute from script tags: Acquisitions

This patch removes the "type" attribute from <script> tags in several
acquisitions templates. 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:

 - Acquisitions -> Vendors -> Vendor -> Basket groups
 - Acquisitions -> Vendors -> Vendor -> Receive shipments
 - Acquisitions -> Vendors -> Vendor -> Basket:
   In the table of orders, click "Transfer." Transfer an order

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/modules/acqui/basketgroup.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/transferorder.tt