Why location.url(link) open two windows inside each other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 05:25 AM
Im trying to redirect a user to desired url using location.url(link) using Widget's client controller.
The problem is that the user is being redirect and he sees two windows inside each other (two SOW). What am I doing wrong?
What the user sees:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 05:38 AM
Hello @Alon Grod
Instead of $location.url(), use
g_navigation.open(link);
Plz mark my solution as Accept, If you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 08:27 AM
@Samaksh Wani can I use it inside client controller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 08:44 AM
@Samaksh Wani is there any way of using location.search?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:10 AM