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!

APEX 5.1.1: modal dialog links created with wrong context

peter_raganitschMay 4 2017 — edited May 19 2017

I set up an example repcase at https://apex.oracle.com/pls/apex/f?p=124888 .

Screen Shot 2017-05-04 at 15.09.37.png

At the left you can see a navigation menu featuring a "Modal Dialog" link. It passes a wrong context of apex.jQuery('#t_Body') to the apex.navigation.dialog method.

In the navigation bar on top you can see another link to "Modal Dialog", with another wrong context of apex.gPageContext$ passed to apex.navigation.dialog.

Those contexts are wrong, because they are used when closing the dialog to trigger the "apexafterclosedialog" event. Now when a Dynamic Action listens for the Dialog Close event on "body", it is never triggered.

This post has been answered by peter_raganitsch on May 4 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2017
Added on May 4 2017
8 comments
675 views