Bugzilla – Attachment 180363 Details for
Bug 38984
DataTables's columnDefs cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38984: (follow-up) Fix syntax error in invoice-files table
Bug-38984-follow-up-Fix-syntax-error-in-invoice-fi.patch (text/plain), 1.75 KB, created by
Martin Renvoize (ashimema)
on 2025-04-02 13:38:22 UTC
(
hide
)
Description:
Bug 38984: (follow-up) Fix syntax error in invoice-files table
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-04-02 13:38:22 UTC
Size:
1.75 KB
patch
obsolete
>From 8d2c18a9db9c028a9ee387edeb9b7dc8deccb4a2 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 7 Feb 2025 12:26:15 +0000 >Subject: [PATCH] Bug 38984: (follow-up) Fix syntax error in invoice-files > table > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > .../prog/en/modules/acqui/invoice-files.tt | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt >index 588597c6724..4a55d795e76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt >@@ -116,18 +116,16 @@ > [% Asset.js("js/acquisitions-menu.js") | $raw %] > [% INCLUDE 'datatables.inc' %] > <script> >- $(document).ready(function() { >+ $(document).ready(function () { > $("#invoice_files_details_table").kohaTable({ >- columnDefs: [ >- { "targets": [ -1, -2 ], "orderable": false, "searchable": false } >- ], >+ columnDefs: [{ targets: [-1, -2], orderable: false, searchable: false }], > info: false, > paging: false, > searching: false, >- dom: "t" >- })); >- $(".delete_file").click(function(){ >- return ( confirm( _("Are you sure you want to delete this file?") ) ); >+ dom: "t", >+ }); >+ $(".delete_file").click(function () { >+ return confirm(_("Are you sure you want to delete this file?")); > }); > }); > </script> >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38984
:
177253
|
177254
|
177255
|
177256
|
177257
|
177258
|
177259
|
177278
|
177279
|
177280
|
177281
|
177597
|
177598
|
177641
|
177642
|
177643
|
177644
|
177645
|
177646
|
177647
|
177648
|
177649
|
177651
|
177933
|
177934
|
177935
|
177936
|
177937
|
177938
|
177939
|
177940
|
177941
|
177942
|
179057
|
179058
|
179059
|
179060
|
179061
|
179062
|
179063
|
179064
|
179065
|
179066
|
180303
|
180356
|
180357
|
180358
|
180359
|
180360
|
180361
|
180362
|
180363
|
180364
|
180365
|
180366
|
181021
|
181022
|
181023
|
181024
|
181025
|
181026
|
181027
|
181028
|
181029
|
181030
|
181031