Skip to content

Commit

Permalink
Merge pull request #146 from exadel-inc/release/4.0.1
Browse files Browse the repository at this point in the history
Release/4.0.1
  • Loading branch information
AlKaliada authored Oct 24, 2024
2 parents 809bafe + 3d2ab3c commit 02409d0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
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

0 comments on commit 02409d0

Please sign in to comment.