From 37478fdd46a148a0df688c19d22f2e1c1c2eefdc Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Fri, 15 Apr 2016 17:01:50 -0400
Subject: [PATCH] Reset Lightbox URL to original url after logging in was
 successful.

---
 themes/bootstrap3/js/lightbox.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js
index dca70cad1ba..71cbda1cff8 100644
--- a/themes/bootstrap3/js/lightbox.js
+++ b/themes/bootstrap3/js/lightbox.js
@@ -170,6 +170,7 @@ VuFind.register('lightbox', function() {
           } else {
             VuFind.lightbox.refreshOnClose = true;
           }
+          _currentUrl = _originalUrl; // Now that we're logged in, where were we?
         }
         _update(html);
       })
-- 
GitLab