From 7715d4c90c6ea9cdbc5c49b2f1d0ee75e76b7e4a Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Tue, 24 Sep 2013 11:29:42 -0400 Subject: [PATCH] VUFIND-903. --- themes/bootstrap/js/lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js index 3c770298771..cbca956a6c6 100644 --- a/themes/bootstrap/js/lightbox.js +++ b/themes/bootstrap/js/lightbox.js @@ -200,7 +200,7 @@ function ajaxLogin(form) { }); // and we update the modal - if(lastLightboxPOST['loggingin']) { + if(lastLightboxPOST && lastLightboxPOST['loggingin']) { closeLightbox(); } else { getLightboxByUrl(lastLightboxURL, lastLightboxPOST); -- GitLab