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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt (-9 / +6 lines)
Lines 116-133 Link Here
116
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
116
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
117
    [% INCLUDE 'datatables.inc' %]
117
    [% INCLUDE 'datatables.inc' %]
118
    <script>
118
    <script>
119
        $(document).ready(function() {
119
        $(document).ready(function () {
120
            $("#invoice_files_details_table").kohaTable({
120
            $("#invoice_files_details_table").kohaTable({
121
                columnDefs: [
121
                columnDefs: [{ targets: [-1, -2], orderable: false, searchable: false }],
122
                    { "targets": [ -1, -2 ], "orderable": false, "searchable":  false }
123
                ],
124
                info: false,
122
                info: false,
125
                paging: false,
123
                paging: false,
126
                searching: false,
124
                searching: false,
127
                dom: "t"
125
                dom: "t",
128
            }));
126
            });
129
            $(".delete_file").click(function(){
127
            $(".delete_file").click(function () {
130
                return ( confirm( _("Are you sure you want to delete this file?") ) );
128
                return confirm(_("Are you sure you want to delete this file?"));
131
            });
129
            });
132
        });
130
        });
133
    </script>
131
    </script>
134
- 

Return to bug 38984