Owen Leonard
0658d84732
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: - Acquisitions -> Vendor (uses acuisitions-toolbar.inc) - Acquisitions -> Vendor -> Add to basket -> From a new (empty) record (uses additem.js.inc) - Catalog -> Search results -> Bibliographic detail view. (uses browser-strings.inc, catalog-strings.inc, datatables.inc, and format_price.inc ) - Tools -> Label creator -> Manage -> Label batches -> Export batch (uses greybox.inc) Validating the HTML source of any of these pages should return no errors related to the "type" attribute. Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
9 lines
304 B
HTML
9 lines
304 B
HTML
[% USE raw %]
|
|
[% USE Asset %]
|
|
<script>
|
|
var GB_ROOT_DIR = "[% interface | html %]/lib/greybox/";
|
|
</script>
|
|
[% Asset.js("lib/greybox/AJS.js") | $raw %]
|
|
[% Asset.js("lib/greybox/AJS_fx.js") | $raw %]
|
|
[% Asset.js("lib/greybox/gb_scripts.js") | $raw %]
|
|
[% Asset.css("lib/greybox/gb_styles.css") | $raw %]
|