Bugzilla – Attachment 133392 Details for
Bug 30509
Accordion on letter.tt is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30509: Fix configuration of Notices accordion widget
Bug-30509-Fix-configuration-of-Notices-accordion-w.patch (text/plain), 1.25 KB, created by
Martin Renvoize (ashimema)
on 2022-04-19 08:28:36 UTC
(
hide
)
Description:
Bug 30509: Fix configuration of Notices accordion widget
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-04-19 08:28:36 UTC
Size:
1.25 KB
patch
obsolete
>From 31b2305170cd5a0988216cae5b28803b2983eaff Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 11 Apr 2022 17:04:34 +0000 >Subject: [PATCH] Bug 30509: Fix configuration of Notices accordion widget > >The jQueryUI upgrade broke the Accordion on the notices edit page. I'm >not sure why, but defining a "header" option in the accordion >configuration fixes it. > >To test, apply the patch and test the notices edit page both with and >without TranslateNotices and multiple languages installed. In both cases >the different sections (Email, Print, SMS) should open and close >correctly. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/letter.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/letter.js b/koha-tmpl/intranet-tmpl/prog/js/letter.js >index 84e63c9d96..f543ab4c29 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/letter.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/letter.js >@@ -129,6 +129,7 @@ $(document).ready(function() { > }); > > $( ".transport-types" ).accordion({ >+ header: "h3", > collapsible: true, > active: parseInt( $("#section").val(), 10), > animate: 200, >-- >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 30509
:
133196
|
133197
| 133392