]> git.koha-community.org Git - koha.git/commit
Bug 31699: Add 'return' option to opac modal login
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Oct 2022 13:38:42 +0000 (14:38 +0100)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Mon, 13 Feb 2023 09:22:34 +0000 (09:22 +0000)
commit7a5ad1665475ad43889d0a78e0052c602285f3b4
tree2a5e5c2ad6782258b071e0431a7e968025e12fa7
parent24363f91da4f02e02101456fc3e24fdce955b786
Bug 31699: Add 'return' option to opac modal login

This patch adds the option to trigger a redirect back to the current
context after successful login using modal logins triggered from various
places in the OPAC.

To make use of this, simply add 'data-return="true"' to the modal trigger link.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 507d48413d3d09866a37db81d2a856f9a0a7c6f9)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/js/global.js
opac/opac-user.pl