Bugzilla – Attachment 113301 Details for
Bug 26958
Move Elasticsearch mapping template JS to the footer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26970: Add row highlight on drag in Elasticsearch mapping template
Bug-26970-Add-row-highlight-on-drag-in-Elasticsear.patch (text/plain), 1.79 KB, created by
Fridolin Somers
on 2020-11-09 08:43:24 UTC
(
hide
)
Description:
Bug 26970: Add row highlight on drag in Elasticsearch mapping template
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-11-09 08:43:24 UTC
Size:
1.79 KB
patch
obsolete
>From 7626b003b24cec48cfe01cbd466b2a19c9c1d3b5 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 9 Nov 2020 09:36:28 +0100 >Subject: [PATCH] Bug 26970: Add row highlight on drag in Elasticsearch mapping > template > >In Elasticsearch mapping tables : >In order to better see which row is currently in drag-an-drop, >add an highlight color like in circulation and fine rules when editing a row. > >Test plan : >1) Go to Administration > Search engine configuration (Elasticsearch) >2) In each table : biblio, authorities, facets >3) Clik on a row to start a drag => See row turning orange >4) Release to drop => See row turning back to original color > >https://bugs.koha-community.org/show_bug.cgi?id=26958 >--- > koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >index 3ebd600d7c..4aee0925c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >@@ -32,7 +32,7 @@ $(document).ready(function () { > }); > > $("table.mappings").tableDnD({ >- onDragClass: "dragClass", >+ onDragClass: "dragClass highlighted-row", > }); > $('.add').click(function () { > var table = $(this).closest('table'); >@@ -48,11 +48,11 @@ $(document).ready(function () { > clean_line(line); > > $(table).tableDnD({ >- onDragClass: "dragClass", >+ onDragClass: "dragClass highlighted-row", > }); > } > }); > $("#facet_biblios > table").tableDnD({ >- onDragClass: "dragClass", >+ onDragClass: "dragClass highlighted-row", > }); > }); >-- >2.29.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 26958
:
113262
|
113299
|
113301
|
116759