Bugzilla – Attachment 165650 Details for
Bug 36706
'Add guarantor' - Patron preview 'close window' does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36706: Fix close button
Bug-36706-Fix-close-button.patch (text/plain), 1.49 KB, created by
David Nind
on 2024-04-26 10:41:18 UTC
(
hide
)
Description:
Bug 36706: Fix close button
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-04-26 10:41:18 UTC
Size:
1.49 KB
patch
obsolete
>From 6547cb94865a6d75ecbeb6e8e453613135be72b3 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 26 Apr 2024 09:11:38 +0000 >Subject: [PATCH] Bug 36706: Fix close button > >1) Visit >http://localhost:8081/cgi-bin/koha/members/memberentry.pl >2) Click 'Search' >3) Click on any cardnumber of any of the search results >4) Click 'close window'. Notice it doesnt close. >5) Apply patch. Repeat test plan. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index 2c934936d3..6dd9d150fa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -698,7 +698,7 @@ > var borrowernumber = $(this).data("borrowernumber"); > var page = "/cgi-bin/koha/members/moremember.pl?print=brief&borrowernumber=" + borrowernumber; > $("#patron_preview_modal").load( page + " div.container-fluid", function(){ >- $("#patron_preview_modal").find(".close").on("click", function(){ >+ $("#patron_preview_modal").find(".close_window").on("click", function(){ > $('#patron_preview_modal').html(_("Loading...")).removeClass("show"); > }); > }); >-- >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 36706
:
165619
| 165650