Bugzilla – Attachment 160965 Details for
Bug 35772
Double escaping of patron fields in bookings modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35772: Remove double escaping
Bug-35772-Remove-double-escaping.patch (text/plain), 1.13 KB, created by
Kyle M Hall (khall)
on 2024-01-12 13:54:53 UTC
(
hide
)
Description:
Bug 35772: Remove double escaping
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-01-12 13:54:53 UTC
Size:
1.13 KB
patch
obsolete
>From a39b23ba5c9cf62d3f03a4ffc3bb8072a74b68b0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 11 Jan 2024 11:20:55 +0000 >Subject: [PATCH] Bug 35772: Remove double escaping > >Patch as proposed by Jonathan in a comment on bug 29002 > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js b/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js >index 4cf49eb0da5..e8a5b0982c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js >@@ -100,7 +100,7 @@ $('#placeBookingModal').on('show.bs.modal', function(e) { > return patron.text; > } > return ( >- escape_str(patron.surname) + ", " + escape_str(patron.firstname) >+ patron.surname + ", " + patron.firstname > ); > }, > placeholder: "Search for a patron" >-- >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 35772
:
160832
|
160895
| 160965