]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 9 Feb 2023 13:21:29 +0000 (10:21 -0300)
commit507d48413d3d09866a37db81d2a856f9a0a7c6f9
tree542d5d53401f1eba5c8bef571bdc2dab727c871b
parent7bb4aeba9f10336d836f31b9e572390dd5bf588a
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>
koha-tmpl/opac-tmpl/bootstrap/js/global.js
opac/opac-user.pl