Skip to content

Commit 782f883

Browse files
authored
Fix license acceptance pop-up for Archival Format download. (#12412)
* When downloading a dataset with: - A license other than CC0 - Tabular ingested files selecting the the Archival Format option may result in a license acceptance pop-up without buttons and with extra text. This has now been resolved by setting the terms guestbook popup action, just like it was already done for the original format option. * release note
1 parent 58dd042 commit 782f883

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed an issue where, in some cases, the license acceptance pop-up for the archival format option did not display correctly when downloading a complete dataset.

src/main/webapp/dataset.xhtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
<h:outputFormat value="#{bundle['dataset.accessBtn.download.size']}">
256256
<f:param value="#{sizeOfDataset}" />
257257
</h:outputFormat>
258+
<f:actionListener binding="#{DatasetPage.setTermsGuestbookPopupAction(bundle.download)}"/>
258259
</p:commandLink>
259260
</li>
260261
<!-- Archival Format too big -->

0 commit comments

Comments
 (0)