diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt index 017af77e34..402ea9e24c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt @@ -10,11 +10,14 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit ([% layout_id %])[% ELSE %]New[% END %] [% INCLUDE 'doc-head-close.inc' %] - @@ -90,7 +78,7 @@

This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.

-
+
Delete patrons

@@ -167,7 +155,7 @@ [% IF step == 2 %]
- +
Warnings
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index f3ce12549f..b682d55913 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -86,6 +86,9 @@ $(document).ready(function(){ $(".checkboxed").unCheckCheckboxes(); return false; }); + $("#inventory_form").on("submit",function(){ + return checkForm(); + }); }); //]]> @@ -120,7 +123,7 @@ $(document).ready(function(){ [% END %] [% UNLESS op %]
    - +
    Use a barcode file
      @@ -231,7 +234,7 @@ $(document).ready(function(){ [% UNLESS compareinv2barcd %] - + [% END %] @@ -299,7 +302,7 @@ $(document).ready(function(){
      [% UNLESS compareinv2barcd %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index 3d1eb15e87..18094b4efe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -27,6 +27,15 @@ $(document).ready(function() { }); [% END %] + $("#newmodule").on("change",function(){ + if( $("#branch").val() == ""){ + var branchcode = "*"; + } else { + var branchcode = $("#branch").val(); + } + window.location.href = "/cgi-bin/koha/tools/letter.pl?op=add_form&module=" + $(this).val() + "&branchcode=" + branchcode; + }); + $("#submit_form").click( function(event) { event.preventDefault(); var at_least_one_exists = 0; @@ -291,7 +300,7 @@ $(document).ready(function() { [% IF adding %] - [% ELSE %]