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>
14 lines
779 B
PHP
14 lines
779 B
PHP
<script>
|
|
var MSG_ADDITEM_JS_ADDITEM = _("Add item");
|
|
var MSG_ADDITEM_JS_ADDMULTI = _("Add multiple items");
|
|
var MSG_ADDITEM_JS_MULTIVAL = _("Number of items to add");
|
|
var MSG_ADDITEM_JS_MULTI_UNIQUE_NOTE = _("NOTE: Fields listed in the \'UniqueItemsFields\' system preference will not be copied");
|
|
var MSG_ADDITEM_JS_SUBMITMULTI = _("Add");
|
|
var MSG_ADDITEM_JS_UPDATEITEM = _("Update item");
|
|
var MSG_ADDITEM_JS_EDIT = _("Edit");
|
|
var MSG_ADDITEM_JS_DELETE = _("Delete");
|
|
var MSG_ADDITEM_JS_CLEAR = _("Clear");
|
|
var MSG_ADDITEM_JS_CANT_RECEIVE_MORE_ITEMS = _("You can't receive any more items");
|
|
var MSG_ADDITEM_JS_IS_DUPLICATE = _("is duplicated");
|
|
var MSG_ADDITEM_JS_ALREADY_EXISTS_IN_DB = _("already exists in database");
|
|
</script>
|