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.page.warnOnUnsavedChanges BUG?

ApexMeisterJan 13 2021

I'm using Apex 20.2 and universal theme.
I have a simple page with warn on unsaved changes = Yes and it is working good.
I added a page load JS DA with the code below and I can see the alert message but its NOT working.
I still see the detault message below and I would think at the minimum it should display my custom message, thanks
var fnIsChanged = function(){
return false;
}
apex.page.warnOnUnsavedChanges('test yes', fnIsChanged);
alert('on page load');

image.png

This post has been answered by InoL on Jan 14 2021
Jump to Answer
Comments
Post Details
Added on Jan 13 2021
1 comment
490 views