diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js
index dc1e07dd9b788f35fcaf5ba0a975f9d1093537f3..6c55c98c1c367aa00c3ee8f25a23f1b23090486f 100644
--- a/themes/bootstrap3/js/lightbox.js
+++ b/themes/bootstrap3/js/lightbox.js
@@ -99,12 +99,12 @@ VuFind.lightbox = (function() {
         ) {
           if (_originalUrl.match(/UserLogin/) || obj.url.match(/catalogLogin/)) {
             var event = new CustomEvent('VuFind.lightbox.login', {
-                bubbles: true,
-                cancelable: true
+              bubbles: true,
+              cancelable: true
             });
-              
             if (document.dispatchEvent(event)) {
-                window.location.reload();
+              // No reload since any post params would cause a prompt
+              window.location.href = window.location.href;
             }
             return false;
           } else {
@@ -241,7 +241,8 @@ VuFind.lightbox = (function() {
       _modalBody = _modal.find('.modal-body');
       _modal.on('hide.bs.modal', function() {
         if (VuFind.lightbox.refreshOnClose) {
-          window.location.reload();
+          // No reload since any post params would cause a prompt
+          window.location.href = window.location.href;
         }
         document.dispatchEvent(new Event('VuFind.lightbox.closing'));
       });