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');
