Skip to content
Snippets Groups Projects
Commit af915cd3 authored by Jean-Pascal Kanter's avatar Jean-Pascal Kanter :speech_balloon: Committed by Robert Lange
Browse files

refs #23356 [finc] reverting/adapting change from #21622 - light box focus...

refs #23356 [finc] reverting/adapting change from #21622 - light box focus after close was not set properbly because origin setter was deleted on template update
parent 62a58be4
No related merge requests found
...@@ -291,6 +291,8 @@ VuFind.register('lightbox', function Lightbox() { ...@@ -291,6 +291,8 @@ VuFind.register('lightbox', function Lightbox() {
_lightboxTitle = $(this).data('lightbox-title') || false; _lightboxTitle = $(this).data('lightbox-title') || false;
_modalParams = $(this).data(); _modalParams = $(this).data();
VuFind.modal('show'); VuFind.modal('show');
// Copied finc #17984
setOrigin($(this));
ajax(obj); ajax(obj);
_currentUrl = this.href; _currentUrl = this.href;
return false; return false;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment