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 1013-1020 Link Here
1013
    [% IF op == 'else' %]
1013
    [% IF op == 'else' %]
1014
        [% INCLUDE 'datatables.inc' %]
1014
        [% INCLUDE 'datatables.inc' %]
1015
        [% INCLUDE 'columns_settings.inc' %]
1015
        [% INCLUDE 'columns_settings.inc' %]
1016
        [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
1017
1018
        <script>
1016
        <script>
1019
            $(document).ready(function() {
1017
            $(document).ready(function() {
1020
                $('#suggestiontabs').tabs();
1018
                $('#suggestiontabs').tabs();
Lines 1039-1051 Link Here
1039
1037
1040
                $(".checkall").click(function(e){
1038
                $(".checkall").click(function(e){
1041
                    e.preventDefault();
1039
                    e.preventDefault();
1042
                    $(this).parents('form').checkCheckboxes();
1040
                    $(this).parents('form').find("input:checkbox").each(function(){
1043
                    return false;
1041
                        $(this).prop("checked", true);
1042
                    });
1044
                });
1043
                });
1045
                $(".uncheckall").click(function(e){
1044
                $(".uncheckall").click(function(e){
1046
                    e.preventDefault();
1045
                    e.preventDefault();
1047
                    $(this).parents('form').unCheckCheckboxes();
1046
                    $(this).parents('form').find("input:checkbox").each(function(){
1048
                    return false;
1047
                        $(this).prop("checked", false);
1048
                    });
1049
                });
1049
                });
1050
                $(".other_reason").hide();
1050
                $(".other_reason").hide();
1051
                $("select[name='reason']").change(function(){
1051
                $("select[name='reason']").change(function(){
1052
- 

Return to bug 26151