Bugzilla – Attachment 132186 Details for
Bug 29893
ElasticSearch Config UI deletes mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29893: Make sure the form will be submitted after the draw calls
Bug-29893-Make-sure-the-form-will-be-submitted-aft.patch (text/plain), 1.18 KB, created by
Martin Renvoize
on 2022-03-24 16:53:26 UTC
(
hide
)
Description:
Bug 29893: Make sure the form will be submitted after the draw calls
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2022-03-24 16:53:26 UTC
Size:
1.18 KB
patch
obsolete
>From a97d49571f5981bf933041bd5d797bf8541524c1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 9 Feb 2022 11:07:40 +0100 >Subject: [PATCH] Bug 29893: Make sure the form will be submitted after the > draw calls > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >index 4bc9225f01..730bf0e257 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >@@ -84,10 +84,9 @@ $(document).ready(function () { > }); > > $("#es_mappings").on("submit", function(e){ >- e.preventDefault(); > $("#search_fields_table").DataTable().search('').draw(); > $("#mapping_biblios_table").DataTable().search('').draw(); > $("#mapping_authorities_table").DataTable().search('').draw(); >- this.submit(); >+ return true; > }); > }); >-- >2.20.1
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 29893
:
129537
|
129571
|
130237
|
130348
|
130349
|
130764
|
130768
|
130769
|
130770
|
132185
| 132186 |
132187