[Pansophy] Entry made in Pansophy Logbook by BOOKWALT

BOOKWALT at jlab.org BOOKWALT at jlab.org
Fri Nov 30 14:47:51 EST 2012


Pansophy Logbook Entry
         Keywords: firefox prompt for re-post (resend request) irritation
         Date:	30-Nov-2012
         Text:	Upon uploading a file to a traveler the user (may at time, depending on their version of Firefox) would receive a request to confirm re-posting a request. This is a change in Mozilla which ensure the accurate data is retrieved for a form upon user returning to the page. It is also, however, dependent on the mechanism used to redisplay the page information. In each traveler page where a file upload exists the following javascript was installed:
function updateFiles() {
document.location.reload();
} 
This reload request would spur the confirm request from mozilla. This function has been modified, in the travelerization.pl script to the following:
function updateFiles() {
document.location.href=document.location.href;
} 
This does not force mozilla to reload. 
This change has been made in the files for F100-CAV-INSP-MWND only.
This change will take place as each traveler is converted.
Old travelers do not have this change (this would have to be
a global hand-made change). 


More information about the Pansophy mailing list