reload/resend information warning
How do I stop the "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." from showing. Other users in my office do not see this on their machines when they run my application. Yes, they are using Firefox.
Alle antwoorden (2)
That message usually displays when the reload needs to resubmit a POST request. Are you comparing a situation where both you and a regular user use Ctrl+R or F5, or is the problem arising spontaneously on your Firefox and not the others?
I lied. The same thing happens when the program is executed on a different machine. I have a program with the following code:
<form method="post">
<input type="hidden" name=""/> </form>
.....
function certify() {
//alert('Submit button on review page clicked. Approval of list was given.');
if($('#approveCheck').is(":checked")){ window.parent.Certify = true; window.parent.$("#listJSON").val(JSON.stringify(window.parent.hot.getData())); window.parent.$('#listForm').submit(); }else{ scale++; if(scale > scaleLimit){ scale = scaleLimit; } $('#approveCheck').css('transform', 'scale(' + scale + ',' + scale + ')').css('border', 'red ' + scale + 'px solid'); alert('You must check the approval box before saving.'); }
//alert('returning false....');
return false; }
The called program then has the following code:
if(parent.LIA_Flag == 'TRUE'){ parent.$.fn.colorbox.close(); window.parent.location.reload(); }else{....
I have narrowed the problem down to the window.parent.location.reload(); statement. I have tried some of the suggestions in the forums on how to change the above statement. The trouble is when I do the program does not return or branch to the right page. It would really be nice if it just went back to where it is supposed to without asking for a verification.
Any suggestions you have will be appreciated. Thank you for responding so quickly.
rod26