Skip to content
Snippets Groups Projects
Commit cf8a3be3 authored by Chris Hallberg's avatar Chris Hallberg Committed by Robert Lange
Browse files

Lightbox Title Fix Redux (#1675)

parent 70f105c6
No related merge requests found
...@@ -7,7 +7,7 @@ VuFind.register('lightbox', function Lightbox() { ...@@ -7,7 +7,7 @@ VuFind.register('lightbox', function Lightbox() {
var refreshOnClose = false; var refreshOnClose = false;
var _modalParams = {}; var _modalParams = {};
// Elements // Elements
var _modal, _modalBody, _modalTitle, _clickedButton = null; var _modal, _modalBody, _clickedButton = null;
// Utilities // Utilities
function _storeClickedStatus() { function _storeClickedStatus() {
_clickedButton = this; _clickedButton = this;
...@@ -386,7 +386,6 @@ VuFind.register('lightbox', function Lightbox() { ...@@ -386,7 +386,6 @@ VuFind.register('lightbox', function Lightbox() {
function init() { function init() {
_modal = $('#modal'); _modal = $('#modal');
_modalBody = _modal.find('.modal-body'); _modalBody = _modal.find('.modal-body');
_modalTitle = _modal.find('#modal-title');
_modal.on('hide.bs.modal', function lightboxHide() { _modal.on('hide.bs.modal', function lightboxHide() {
if (VuFind.lightbox.refreshOnClose) { if (VuFind.lightbox.refreshOnClose) {
VuFind.refreshPage(); VuFind.refreshPage();
......
...@@ -34,13 +34,6 @@ ...@@ -34,13 +34,6 @@
margin-bottom: 1.3rem; margin-bottom: 1.3rem;
} }
#modal-title {
display: block;
padding: 0.8rem 1rem 0.7rem;
font-size: 23px;
font-weight: normal;
}
#modal .cart-controls .btn { margin-bottom: 4px; } #modal .cart-controls .btn { margin-bottom: 4px; }
#modal .cart-controls .checkbox { padding-bottom: 1rem; } #modal .cart-controls .checkbox { padding-bottom: 1rem; }
#modal .cart-controls ~ hr { margin-top: 0; } #modal .cart-controls ~ hr { margin-top: 0; }
......
...@@ -34,13 +34,6 @@ ...@@ -34,13 +34,6 @@
margin-bottom: 1.3rem; margin-bottom: 1.3rem;
} }
#modal-title {
display: block;
padding: 0.8rem 1rem 0.7rem;
font-size: 23px;
font-weight: normal;
}
#modal .cart-controls .btn { margin-bottom: 4px; } #modal .cart-controls .btn { margin-bottom: 4px; }
#modal .cart-controls .checkbox { padding-bottom: 1rem; } #modal .cart-controls .checkbox { padding-bottom: 1rem; }
#modal .cart-controls ~ hr { margin-top: 0; } #modal .cart-controls ~ hr { margin-top: 0; }
......
...@@ -196,8 +196,7 @@ JS; ...@@ -196,8 +196,7 @@ JS;
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<span id="modal-title" role="heading"><?=$this->transEsc('Loading') ?>...</span> <div class="modal-body"><?=$this->transEsc('Loading') ?>...</div>
<div class="modal-body"></div>
</div> </div>
</div> </div>
</div> </div>
......
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