Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't open a new window/tab from dynamic action on Dialog Closed event in Chrome

Oleh TyshchenkoNov 13 2018 — edited Nov 14 2018

Can't open a new window/tab from dynamic action on Dialog Closed event in Chrome only with a code like this:

window.open( "https://apex.oracle.com", "_blank" );

This code is just silently do nothing. No window/tab, no error in the console. Firefox, Edge, IE works as I expected them to. The same code defined in a dynamic action on Button Click event works fine everywhere.

Is this a known Google Chrome restriction? Is there a better browser agnostic way to show a URL in a new window/tab on a dialog close?

If it is important, a dialog contains a form. On submit I do some computation and validation and then build a URL that I want to open in a new window/tab.

APEX 18.2 at apex.oracle.com

This post has been answered by Pierre Yotti on Nov 13 2018
Jump to Answer
Comments
Post Details
Added on Nov 13 2018
3 comments
1,285 views