Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/4.0.1 #146

Merged
merged 4 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.exadel.etoolbox</groupId>
<artifactId>etoolbox-backpack</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>

<artifactId>etoolbox-backpack.core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.exadel.etoolbox</groupId>
<artifactId>etoolbox-backpack</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>

<name>EToolbox BackPack</name>
<description>A tool for easily creating, handling and distributing content packages across Adobe Experience Manager (AEM) ecosystem.</description>
Expand Down
2 changes: 1 addition & 1 deletion ui.apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.exadel.etoolbox</groupId>
<artifactId>etoolbox-backpack</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>

<artifactId>etoolbox-backpack.content</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
jcr:primaryType="nt:unstructured"
jcr:title="Success"
jcr:titleError="Error"
granite:class="backpack-meta"
sling:resourceType="granite/ui/components/coral/foundation/form/responses/openprompt"/>
<items jcr:primaryType="nt:unstructured">
<content jcr:primaryType="nt:unstructured"
Expand Down Expand Up @@ -302,6 +303,7 @@
jcr:primaryType="nt:unstructured"
jcr:title="Success"
jcr:titleError="Error"
granite:class="backpack-meta"
sling:resourceType="granite/ui/components/coral/foundation/form/responses/openprompt"/>
<items jcr:primaryType="nt:unstructured">
<content jcr:primaryType="nt:unstructured"
Expand Down Expand Up @@ -357,6 +359,7 @@
jcr:primaryType="nt:unstructured"
jcr:title="Success"
jcr:titleError="Error"
granite:class="backpack-meta"
sling:resourceType="granite/ui/components/coral/foundation/form/responses/openprompt"/>
<items jcr:primaryType="nt:unstructured">
<content jcr:primaryType="nt:unstructured"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,4 +569,12 @@
}
});

if (window.DOMPurify) {
window.DOMPurify.addHook('uponSanitizeElement', function (node, hookEvent ) {
if (hookEvent && hookEvent.tagName === 'meta' && node.classList.contains('backpack-meta')) {
hookEvent.allowedTags.meta = true;
}
});
}

})(Granite, Granite.$);
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class="coral-Form coral-Form--vertical foundation-form"
data-foundation-form-ajax="true"
data-foundation-form-loadingmask="true">
<meta class="foundation-form-response-ui-success"
<meta class="foundation-form-response-ui-success backpack-meta"
data-foundation-form-response-ui-success="{&#34;name&#34;:&#34;foundation.prompt.open&#34;,&#34;open&#34;:null,&#34;redirect&#34;:null,&#34;title&#34;:&#34;Success&#34;,&#34;message&#34;:null}">
<div class="coral-FixedColumn">
<div class="coral-FixedColumn-column">
Expand Down
Loading