Bugzilla – Attachment 187269 Details for
Bug 30303
Add ability to select which values to retain when merging patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30303: (follow-up) Stop the back button from loading from cache
Bug-30303-follow-up-Stop-the-back-button-from-load.patch (text/plain), 989 bytes, created by
Brendan Lawlor
on 2025-10-02 13:33:27 UTC
(
hide
)
Description:
Bug 30303: (follow-up) Stop the back button from loading from cache
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-10-02 13:33:27 UTC
Size:
989 bytes
patch
obsolete
>From b15166ce499bd8d0cfaa1d683dd7ade39e748a54 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Thu, 2 Oct 2025 13:32:17 +0000 >Subject: [PATCH] Bug 30303: (follow-up) Stop the back button from loading from > cache > >--- > .../intranet-tmpl/prog/en/modules/members/merge-patrons.tt | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >index c50a52ae98..56b0ec9207 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >@@ -463,6 +463,13 @@ > }); > }); > } >+ >+ // Stop the back button from loading from cache >+ window.onpageshow = function (e) { >+ if (e.persisted) { >+ window.location.reload(); >+ } >+ }; > </script> > [% END %] > >-- >2.39.5
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 30303
:
186382
|
186383
|
186572
|
187269
|
187295
|
187306
|
187307
|
187308
|
187309