Bugzilla – Attachment 149502 Details for
Bug 33104
Add vendor interfaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33104: Prevent 'Type' to be cleared
Bug-33104-Prevent-Type-to-be-cleared.patch (text/plain), 1.22 KB, created by
Katrin Fischer
on 2023-04-11 21:13:53 UTC
(
hide
)
Description:
Bug 33104: Prevent 'Type' to be cleared
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-04-11 21:13:53 UTC
Size:
1.22 KB
patch
obsolete
>From 53ea365828c4f989cac338859b89e350c9d3c2ef Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Apr 2023 12:03:42 +0200 >Subject: [PATCH] Bug 33104: Prevent 'Type' to be cleared > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index a20e4e5bc9..bba7bcb89e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -562,7 +562,7 @@ > interfaces = []; > $("#interfaces > fieldset.supplier-interface > ol.interface-form").each( (index, interface_form )=> { > let interface = {}; >- $(interface_form).find('input,textarea').serializeArray().map(attr => { >+ $(interface_form).find('input,textarea,select').serializeArray().map(attr => { > let name = attr.name.replace(/interface_([\w_]+)_\d+/, "$1"); > interface[name] = attr.value > }) >-- >2.30.2
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 33104
:
147632
|
147633
|
147634
|
147635
|
147636
|
147637
|
147638
|
147639
|
148459
|
148460
|
148461
|
148462
|
148463
|
148464
|
148465
|
148466
|
148473
|
148474
|
148475
|
148476
|
148477
|
148478
|
148479
|
148480
|
149375
|
149420
|
149421
|
149422
|
149431
|
149492
|
149493
|
149494
|
149495
|
149496
|
149497
|
149498
|
149499
|
149500
|
149501
| 149502 |
149503
|
149631
|
149632