Bugzilla – Attachment 168016 Details for
Bug 37059
'Insert' button is not working in notices and slips tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37059: Fix insert button in notices and slips
Bug-37059-Fix-insert-button-in-notices-and-slips.patch (text/plain), 1.25 KB, created by
Brendan Lawlor
on 2024-06-24 14:58:29 UTC
(
hide
)
Description:
Bug 37059: Fix insert button in notices and slips
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-06-24 14:58:29 UTC
Size:
1.25 KB
patch
obsolete
>From a99a7c0a522892a4de2f2aa1e490455be4341dae Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Mon, 24 Jun 2024 14:54:05 +0000 >Subject: [PATCH] Bug 37059: Fix insert button in notices and slips > >This patch fixes the insert button in notices and slips. The container id needed to be appened with '_panel' > >To Test: >1. Edit any notice or slip and try to use the insert button >2. Nothing happens >3. Apply patch and refresh the browser >4. Edit any notice or slip and use the insert button >5. Confirm the parameters are inserted into the tempalte as expected. >--- > koha-tmpl/intranet-tmpl/prog/js/letter.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/letter.js b/koha-tmpl/intranet-tmpl/prog/js/letter.js >index 44524c0452..3c825f961d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/letter.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/letter.js >@@ -235,7 +235,7 @@ $(document).ready(function() { > }); > > function insertValueQuery(containerid) { >- var fieldset = $("#" + containerid); >+ var fieldset = $("#" + containerid + "_panel"); > var myQuery = $(fieldset).find('textarea[name="content"]'); > var myListBox = $(fieldset).find('select[name="SQLfieldname"]'); > >-- >2.39.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 37059
:
168016
|
168027
|
168028