From ca506f07d9dfa03ddbcafe7812d1a12310325cdf Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Mon, 16 Mar 2026 15:45:23 -0400 Subject: [PATCH 1/3] fix jsf guestbook response cancel button --- .../guestbook-terms-popup-fragment.xhtml | 241 +++++++++--------- 1 file changed, 125 insertions(+), 116 deletions(-) diff --git a/src/main/webapp/guestbook-terms-popup-fragment.xhtml b/src/main/webapp/guestbook-terms-popup-fragment.xhtml index 14e8fb551a6..bf0ca25faa6 100644 --- a/src/main/webapp/guestbook-terms-popup-fragment.xhtml +++ b/src/main/webapp/guestbook-terms-popup-fragment.xhtml @@ -25,123 +25,123 @@

-
- -
-

- -

-

- - - #{DatasetUtil:getLicenseName(workingVersion)} - - - + +

-
- -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
-
-
-
- - -
@@ -288,7 +288,7 @@ update="guestbookUIFragment"> - + - + + + + + +
@@ -328,8 +336,9 @@ oncomplete="if (!args || (args && !args.validationFailed)){PF('guestbookAndTermsPopup').hide();window.location.replace(window.location.href);}"> - - + +
From bb63ab32df9f38c8cc9cd2f7fa67c18cba47b272 Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Mon, 16 Mar 2026 16:07:30 -0400 Subject: [PATCH 2/3] add release notes --- .../12205-guestbook-response-jsf-popup-cancel-button.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/release-notes/12205-guestbook-response-jsf-popup-cancel-button.md diff --git a/doc/release-notes/12205-guestbook-response-jsf-popup-cancel-button.md b/doc/release-notes/12205-guestbook-response-jsf-popup-cancel-button.md new file mode 100644 index 00000000000..00cba5884d7 --- /dev/null +++ b/doc/release-notes/12205-guestbook-response-jsf-popup-cancel-button.md @@ -0,0 +1 @@ +This release fixes a bug which, in the JSF UI, the 'Cancel' button on the Guestbook Response dialog/preview tab does not close the dialog/tab. With this fix the dialog will close or, when in the preview tab, the tab will go back to the 'Files' tab. From 4d4ab0407d0e1212cdd9a7f694e7db4ba6ab85d7 Mon Sep 17 00:00:00 2001 From: Steven Winship <39765413+stevenwinship@users.noreply.github.com> Date: Mon, 6 Jul 2026 10:16:55 -0400 Subject: [PATCH 3/3] review comment --- src/main/webapp/guestbook-terms-popup-fragment.xhtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/guestbook-terms-popup-fragment.xhtml b/src/main/webapp/guestbook-terms-popup-fragment.xhtml index bf0ca25faa6..e42a7973934 100644 --- a/src/main/webapp/guestbook-terms-popup-fragment.xhtml +++ b/src/main/webapp/guestbook-terms-popup-fragment.xhtml @@ -134,13 +134,13 @@
+ jsf:rendered="#{!empty workingVersion.termsOfUseAndAccess.disclaimer}"> + value="#{MarkupChecker:sanitizeBasicHTML(workingVersion.termsOfUseAndAccess.termsOfAccess)}" + escape="false" />