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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-7 / +6 lines)
Lines 998-1005 Link Here
998
    [% IF op == 'else' %]
998
    [% IF op == 'else' %]
999
        [% INCLUDE 'datatables.inc' %]
999
        [% INCLUDE 'datatables.inc' %]
1000
        [% INCLUDE 'columns_settings.inc' %]
1000
        [% INCLUDE 'columns_settings.inc' %]
1001
        [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
1002
1003
        <script>
1001
        <script>
1004
            $(document).ready(function() {
1002
            $(document).ready(function() {
1005
                $('#suggestiontabs').tabs();
1003
                $('#suggestiontabs').tabs();
Lines 1020-1032 Link Here
1020
1018
1021
                $(".checkall").click(function(e){
1019
                $(".checkall").click(function(e){
1022
                    e.preventDefault();
1020
                    e.preventDefault();
1023
                    $(this).parents('form').checkCheckboxes();
1021
                    $(this).parents('form').find("input:checkbox").each(function(){
1024
                    return false;
1022
                        $(this).prop("checked", true);
1023
                    });
1025
                });
1024
                });
1026
                $(".uncheckall").click(function(e){
1025
                $(".uncheckall").click(function(e){
1027
                    e.preventDefault();
1026
                    e.preventDefault();
1028
                    $(this).parents('form').unCheckCheckboxes();
1027
                    $(this).parents('form').find("input:checkbox").each(function(){
1029
                    return false;
1028
                        $(this).prop("checked", false);
1029
                    });
1030
                });
1030
                });
1031
                $(".other_reason").hide();
1031
                $(".other_reason").hide();
1032
                $("select[name='reason']").change(function(){
1032
                $("select[name='reason']").change(function(){
1033
- 

Return to bug 26151