Bugzilla – Attachment 158752 Details for
Bug 35304
Add new Sortable library to didyoumean configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35304: Add new Sortable library to didyoumean configuration
Bug-35304-Add-new-Sortable-library-to-didyoumean-c.patch (text/plain), 1.52 KB, created by
Lucas Gass (lukeg)
on 2023-11-09 16:58:43 UTC
(
hide
)
Description:
Bug 35304: Add new Sortable library to didyoumean configuration
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-11-09 16:58:43 UTC
Size:
1.52 KB
patch
obsolete
>From 0de1d40719d474a9fe77ed0418f7e4baf3cc8d9c Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Thu, 9 Nov 2023 11:24:40 -0500 >Subject: [PATCH] Bug 35304: Add new Sortable library to didyoumean > configuration > >To test: >1. Go to Administration > Did You Mean >2. Attempt to drag and drop plugin options. >--> Confirm that they are not draggable >3. Apply patch and clear browser cache >4. Reload the page >--> Confirm that drag-and-drop now works > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt >index 41b0ecccb0a..906d4120573 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt >@@ -91,8 +91,14 @@ > > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/admin-menu.js") | $raw %] >+ [% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %] > <script> > $(document).ready(function() { >+ $( ".pluginlist" ).each( (i, e) => { >+ Sortable.create(e, { >+ animation: 150 >+ }); >+ }); > $( ".plugin" ).addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" ) > .find( ".pluginname" ) > .addClass( "ui-widget-header ui-corner-all" ) >-- >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 35304
:
158750
|
158752
|
158766