Question
popup form refreshing parent window
We have a main parent page, from which you can do many things
(among them add a file, delete a file, replace a file, where
replace is basically delete then add) - the way it's coded, when
you first go to the page, the parameters are in the URL; if you add
a file, they stay in the URL, and everything's happy; if you
replace or delete a file, though, the URL gets stripped of the
parameters (since they're now in form variables). If you *then* go
to add or replace a file after replacing or deleting, when the
popup that lets you choose the file to add closes and tries to
refresh the parent, you get the annoying "to display this webpage
again, Internet Explorer needs to resend form data..." popup. If
the user clicks "retry", it works just fine, but I'd like to
eliminate the annoyance if at all possible.
Right now, the refresh parent/close popup is being accomplished with javascript:
opener.location.reload(true);
self.close();
The root of the problem seems to be that the delete function doesn't need a popup, and so doesn't retain the full URL with parameters, and I could do a lot of work to change that, but I'm wondering if there's any other way around this that might be simpler, since it's not something that comes up often or even causes any functional problems, but is annoying.
Right now, the refresh parent/close popup is being accomplished with javascript:
opener.location.reload(true);
self.close();
The root of the problem seems to be that the delete function doesn't need a popup, and so doesn't retain the full URL with parameters, and I could do a lot of work to change that, but I'm wondering if there's any other way around this that might be simpler, since it's not something that comes up often or even causes any functional problems, but is annoying.