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!

doSubmit('SAVE') is FIREFOX not beeing executed

395454Mar 27 2008 — edited Aug 3 2009
Hi,

My application worked for many years until users updated firefox to new version (2.0).

In the page template, I have :

<body #ONLOAD# bgcolor="white" OnUnload="return popQS(); return false;">

The javascript popQS is :

function popQS() {
if (Rupdate)
if (confirm("The data has not been saved,\press on \"OK\" to save, or \"Cancel\" to continue ans ignore changes")) {
Rupdate=false;
doSubmit('SAVE');
}
return true;
}


The functionality :

Many pages have :
1- A "SAVE" button
2- Other buttons that redirect to other pages if no changes have been detected in the current page, otherwise a save is done and the user is no redirected.
When the user click for a redirection button, and a change is detected in the page,
the javascript function popQS() is called :
a- if the user click on "Ok", the page MUST EXECUTE THE doSubmit('SAVE'); and no redirection is done to other pages.
b- if the user clicks on "Cancel", the redirection is done ....

THE FIREFOX BUG (STARTING FROM FIREFOX 2.0) : the doSubmit('SAVE') is not executed !!!

This application is working from 4 years ago, so please any help is appreciated.


Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2009
Added on Mar 27 2008
18 comments
4,263 views