The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit d1cd5eb5 authored by Claas Kazzer's avatar Claas Kazzer :speech_balloon: Committed by Frank Morgner
Browse files

refs #13039

* fixes toggler behaviour in collection-info
parent 1de1521e
No related merge requests found
......@@ -10,10 +10,10 @@ function showMoreInfoToggle() {
// finc: Keep Accordion OPEN on load
// toggleCollectionInfo();
$("#moreInfoToggle").removeClass('hidden');
$("#moreInfoToggle").click(function moreInfoToggleClick(e) {
e.preventDefault();
toggleCollectionInfo();
});
//$("#moreInfoToggle").click(function moreInfoToggleClick(e) {
// e.preventDefault();
// toggleCollectionInfo();
//});
}
$(document).ready(function collectionRecordReady() {
......
......@@ -39,7 +39,7 @@
<? /* finc-specific snippet - Begin - CK */ ?>
<? /* Do not set to 'hidden', make table below collapse in; adapt collection_record.js to keep accordion open - CK */ ?>
<a id="moreInfoToggle" href="#" class="accordion-toggler" data-toggle="collapse" aria-expanded="true">
<a id="moreInfoToggle" href="#" class="accordion-toggler collapsed hidden" data-toggle="collapse" data-target="#collectionInfo" aria-expanded="true">
<?=$this->transEsc('Description')?>
</a>
<?/* Display Main Details */?>
......@@ -49,7 +49,7 @@
?>
<? if (!empty($fields)): ?>
<?/* finc: we use 'collapse in' to initially hide the content, CK */?>
<table id="collectionInfo" class="table table-striped collapse in" style="display: table">
<table id="collectionInfo" class="table table-striped collapse in">
<? /* Table summary not supported in html 5, finc-specific solution, CK */ ?>
<caption class="sr-only"><?=$this->transEsc('Bibliographic Details')?></caption>
<? foreach ($fields as $key => $current): ?>
......
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