diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js index fc238868cd897e5c78f0a42a61f4c1d1266961da..6523a1307b893743008d0d27613e741efb722432 100644 --- a/themes/bootstrap/js/lightbox.js +++ b/themes/bootstrap/js/lightbox.js @@ -501,6 +501,10 @@ $(document).ready(function() { }); // Modal title $('.modal-link,.help-link').click(function() { - $('#modal .modal-header h3').html($(this).attr('title')); + var title = $(this).attr('title'); + if(typeof title === "undefined") { + title = $(this).html(); + } + $('#modal .modal-header h3').html(title); }); }); \ No newline at end of file diff --git a/themes/bootstrap/templates/RecordTab/holdingsils.phtml b/themes/bootstrap/templates/RecordTab/holdingsils.phtml index 14a35a97281f305948cd9606d4b6ca29fe1f70ff..5446190453eb1423b1a6fe82002d7c7293154c23 100644 --- a/themes/bootstrap/templates/RecordTab/holdingsils.phtml +++ b/themes/bootstrap/templates/RecordTab/holdingsils.phtml @@ -95,7 +95,7 @@ <? /* Begin Available Items (Holds) */ ?> <span class="text-success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span> <? if (isset($row['link']) && $row['link']): ?> - <a<?=$check ? ' class="checkRequest"' : ''?> class="placehold" href="<?=$this->recordLink()->getHoldUrl($row['link'])?>"><?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a> + <a<?=$check ? ' class="checkRequest"' : ''?> class="modal-link placehold" href="<?=$this->recordLink()->getHoldUrl($row['link'])?>" title="<?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?>"><?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a> <? endif; ?> <? else: ?> <? /* Begin Unavailable Items (Recalls) */ ?>