Skip to content

Commit

Permalink
Merge pull request #10106 from QualitativeDataRepository/IQSS/10105-f…
Browse files Browse the repository at this point in the history
…ix_guestbook_preview_on_dataset_page

IQSS/10105 - fix guestbook preview on dataset page
  • Loading branch information
sekmiller authored Jun 20, 2024
2 parents 853965e + 41bea04 commit adf1167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/dataset-license-terms.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
<div class="panel panel-default" jsf:rendered="#{!settingsWrapper.rsyncOnly and (managePage==false or datasetPage == true)
and (!empty DatasetPage.dataset.guestbook or (dataverseSession.user.authenticated and permissionsWrapper.canIssueUpdateDatasetCommand(DatasetPage.dataset)))}">
<div data-toggle="collapse" data-target="#panelCollapseGuestbook" class="panel-heading text-info">
#{bundle['file.dataFilesTab.terms.list.guestbook']} &#160;<span class="glyphicon glyphicon-chevron-up"/>
#{bundle['file.dataFilesTab.terms.list.guestbook']} &#160;<span class="glyphicon glyphicon-chevron-down"/>
</div>
<div id="panelCollapseGuestbook" class="collapse">
<div class="panel-body">
Expand Down Expand Up @@ -524,7 +524,7 @@
<p:commandButton styleClass="btn btn-default pull-right"
value="#{bundle['file.dataFilesTab.terms.list.guestbook.viewBtn']}"
action="#{DatasetPage.viewSelectedGuestbook(DatasetPage.dataset.guestbook)}"
update=":datasetForm" oncomplete="PF('viewGuestbook').show();"/>
update=":datasetForm:previewGuestbook" oncomplete="PF('viewGuestbook').show();"/>
</div>
</div>
</ui:fragment>
Expand Down Expand Up @@ -563,7 +563,7 @@
<p:commandButton styleClass="btn btn-default pull-right"
value="#{bundle['file.dataFilesTab.terms.list.guestbook.viewBtn']}"
action="#{DatasetPage.viewSelectedGuestbook(guestbook)}"
update=":datasetForm" oncomplete="PF('viewGuestbook').show();"/>
update=":datasetForm:previewGuestbook" oncomplete="PF('viewGuestbook').show();"/>
</p:column>
</p:dataTable>
</ui:fragment>
Expand Down

0 comments on commit adf1167

Please sign in to comment.