Browse files

when a form is submitting via post to a url that already has a page r…

…epresented in the DOM, replace the current page with the response page of the same url (post params are not passed via q string, so the URLs are identical).
  • Loading branch information...
scottjehl committed Sep 23, 2011
1 parent 1badd4a commit be5136198e14e1b9f418ef7cdddf2a208d10bfe2
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/
@@ -686,6 +686,11 @@
absUrl = path.addSearchParams( absUrl, ); = undefined;
// If the caller is using a "post" request, reloadPage must be true
if( && settings.type === "post" ){
settings.reloadPage = true;
// The absolute version of the URL minus any dialog/subpage params.
// In otherwords the real URL of the page to be loaded.

0 comments on commit be51361

Please sign in to comment.