View | Details | Raw Unified | Return to bug 26213
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 lines)
Lines 15-21 Link Here
15
[%# As long as cataloging plugins rely on <script> tags added inline, JS must be in the header %]
15
[%# As long as cataloging plugins rely on <script> tags added inline, JS must be in the header %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
17
[% INCLUDE 'datatables.inc' %]
17
[% INCLUDE 'datatables.inc' %]
18
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
19
[% Asset.js("js/acq.js") | $raw %]
18
[% Asset.js("js/acq.js") | $raw %]
20
[% Asset.js("js/funds_sorts.js") | $raw %]
19
[% Asset.js("js/funds_sorts.js") | $raw %]
21
[% Asset.js("js/addorderiso2709.js") | $raw %]
20
[% Asset.js("js/addorderiso2709.js") | $raw %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-9 / +6 lines)
Lines 37-51 $(document).ready(function() { Link Here
37
    $("div.biblio.unselected select").prop('disabled', false);
37
    $("div.biblio.unselected select").prop('disabled', false);
38
    $("div.biblio.unselected input").prop('disabled', false);
38
    $("div.biblio.unselected input").prop('disabled', false);
39
39
40
    $("#checkAll").click(function(){
40
    $("#checkAll").click(function(e){
41
        $("#Aform").checkCheckboxes();
41
        e.preventDefault();
42
        $("input:checkbox[name='import_record_id']").change();
42
        $("input:checkbox[name='import_record_id']").prop("checked", true).change();
43
        return false;
44
    });
43
    });
45
    $("#unCheckAll").click(function(){
44
    $("#unCheckAll").click(function(e){
46
        $("#Aform").unCheckCheckboxes();
45
        e.preventDefault();
47
        $("input:checkbox[name='import_record_id']").change();
46
        $("input:checkbox[name='import_record_id']").prop("checked", false).change();
48
        return false;
49
    });
47
    });
50
48
51
    $("input#add_order").on("click", function(e){
49
    $("input#add_order").on("click", function(e){
52
- 

Return to bug 26213