[Koha-bugs] [Bug 22957] Remove type attribute from script tags: Staff client includes 1/2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 5 19:42:26 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22957

Nadine Pierre <nadine.pierre at InLibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89950|0                           |1
        is obsolete|                            |

--- Comment #4 from Nadine Pierre <nadine.pierre at InLibro.com> ---
Created attachment 91337
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91337&action=edit
Bug 22957: Remove type attribute from script tags: Staff client includes 1/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:

 - 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 at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list