You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
In teaser Component currently if we provide tel: in CTA it works fine and open up the available phone caller app but when adding javascript:alert('message'); to the CTA it doesn't open up the alert Box.
Expected behavior/code
When adding javascript:alert('message'); to the CTA it should open up the alet box.
Environment
AEM 6.5.21, AEMaaCS
Core Components version 2.27.0
JRE version - Java(TM) SE Runtime Environment 11
Possible Solution
We can overwrite the href element with the proper context. Like this:
In action.html, Explicitly add the href element after the data-sly-attributes.
Additional context / Screenshots Result
The text was updated successfully, but these errors were encountered:
Bug Report
Current Behavior
In teaser Component currently if we provide tel: in CTA it works fine and open up the available phone caller app but when adding javascript:alert('message'); to the CTA it doesn't open up the alert Box.
Expected behavior/code
When adding javascript:alert('message'); to the CTA it should open up the alet box.
Environment
Java(TM) SE Runtime Environment 11
Possible Solution
We can overwrite the href element with the proper context. Like this:
In action.html, Explicitly add the href element after the data-sly-attributes.
Additional context / Screenshots
Result
The text was updated successfully, but these errors were encountered: