How can I create a custom widget with links that won't be blocked?

I've made a custom widget with some buttons and added links to them but they are getting blocked with this error message:

Blocked opening '…' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.

What do I have to do to make them work? Thanks.

0
3 comments
Official comment

Hi!

I'm Sergey from the YouTrack team.

You should specify capabilities.popups=true in the widget manifest as covered in the related documentation: https://www.jetbrains.com/help/youtrack/devportal/building-custom-widgets.html#widget-manifest.

If you have any questions, please let me know. 

Thanks, that fixed my issue.

0
Thanks for the update.

Happy to hear that it helped!
0

Please sign in to leave a comment.