Bugzilla – Attachment 173697 Details for
Bug 38293
Cannot add Specific OPAC JS or CSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38293: Fix setting branch-level JS and CSS
Bug-38293-Fix-setting-branch-level-JS-and-CSS.patch (text/plain), 1.57 KB, created by
David Cook
on 2024-10-29 23:09:46 UTC
(
hide
)
Description:
Bug 38293: Fix setting branch-level JS and CSS
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-10-29 23:09:46 UTC
Size:
1.57 KB
patch
obsolete
>From 8f708cbfce131fb380409cef28b14f6ed6a27d77 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 29 Oct 2024 23:08:40 +0000 >Subject: [PATCH] Bug 38293: Fix setting branch-level JS and CSS > >Test plan: >1. Apply the patch >2. Go to http://localhost:8081/cgi-bin/koha/admin/branches.pl? >op=add_form&branchcode=CPL >3. Scroll to bottom of the page and click "Edit" then "Collapse" next to >Specific OPAC JS and Specific OPAC CSS >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 35c27cac57..4c6d22e12c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -833,7 +833,7 @@ > $( ".expand-textarea" ).on("click", function(e){ > e.preventDefault(); > $(this).hide(); >- var target = $(this).data("target"); >+ var target = $(this).data("bs-target"); > var syntax = $(this).data("syntax"); > $("#collapse_" + target ).show(); > if( syntax ){ >@@ -858,7 +858,7 @@ > $( ".collapse-textarea" ).on("click", function(e){ > e.preventDefault(); > $(this).hide(); >- var target = $(this).data("target"); >+ var target = $(this).data("bs-target"); > var syntax = $(this).data("syntax"); > $("#expand_" + target ).show(); > if( syntax ){ >-- >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 38293
:
173697
|
173698
|
173707
|
173726
|
173737