How to open a new tab from widget's client controller

Alon Grod
Tera Expert

Im trying to open a new Tab if condition is met, the problem is that Im being redirect to a new page and I see page inside a page

WhatsApp Image 2023-11-27 at 15.06.04.jpeg

 

Outcome (two pages of SOW inside each other, instead of just one window):

WhatsApp Image 2023-11-27 at 15.13.14.jpeg

 

1 ACCEPTED SOLUTION
2 REPLIES 2

Prince Arora
Tera Sage
Tera Sage

@Alon Grod 

 

Brother can you update the code as follows:

 

var win = top.window.open('http://www.coolsite.com', '_blank');
win.focus();