Skip to content

Commit

Permalink
improve redirect message for edit manifest button in sidekick (adobec…
Browse files Browse the repository at this point in the history
…om#1826)

Co-authored-by: vivgoodrich <[email protected]>
  • Loading branch information
vgoodric and vivgoodrich authored Feb 5, 2024
1 parent 2a927e8 commit 2c843b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/features/personalization/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ function addPillEventListeners(div) {
a.addEventListener('click', () => {
if (a.getAttribute('href')) return false;
const w = window.open('', '_blank');
w.document.write('<html><head></head><body>Please wait while we redirect you</body></html>');
w.document.write(`<html><head></head><body>
Please wait while we redirect you.
If you are not redirected, please check that you are signed into the AEM sidekick
and try again.
</body></html>`);
w.document.close();
w.focus();
getEditManifestUrl(a, w);
Expand Down

0 comments on commit 2c843b6

Please sign in to comment.