@@ -, +, @@
- Form contents in a fieldset
- Submit button in a fieldset with class "action" and
with a "Cancel" link.
- Errors displayed in a
(no custom error classes necessary).
- Valid markup.
- No JavaScript errors (to that end, the patch removes a
call to a non-existent function, show_transport_cost_matrix)
---
.../prog/en/modules/admin/transport-cost-matrix.tt | 44 +++++++++----------
1 files changed, 21 insertions(+), 23 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt
@@ -38,18 +38,11 @@ function form_submit (f) {
$(f).find('input:disabled').removeAttr("disabled");
return true;
}
-
-$(document).ready(function() {
- show_transport_cost_matrix([% IF UseTransportCostMatrix %]true[% ELSE %]false[% END %]);
-});
//]]>
@@ -69,30 +62,34 @@ $(document).ready(function() {
Defining transport costs between libraries
[% IF ( WARNING_transport_cost_matrix_off ) %]
-
Because the "UseTransportCostMatrix" system preference is currently not enabled, Transport Cost Matrix is not being used. Go
here if you wish to enable this feature.
+
Because the "UseTransportCostMatrix" system preference is currently not enabled, the transport cost matrix is not being used. Go
here if you wish to enable this feature.
[% END %]
-
-