X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/037a7aae103ebeb9e73a6c2ef544c3a71446b1a7..b86376bdcf704ed8d037fff2bca084b9197577ed:/skins/ajax_scripts/ajax_form_manager.js?ds=sidebyside diff --git a/skins/ajax_scripts/ajax_form_manager.js b/skins/ajax_scripts/ajax_form_manager.js index d3efec3..8bbd4e7 100644 --- a/skins/ajax_scripts/ajax_form_manager.js +++ b/skins/ajax_scripts/ajax_form_manager.js @@ -435,7 +435,8 @@ FormManager.prototype.loadResponse = function(req) { var onAfterPopulate = this.onAfterPopulate; onAfterPopulate(); this.scrollToPortalMessage(); - history.pushState(absolute_url(), document.title, absolute_url()); + var url = this.form.action; + history.pushState(url, document.title, url); }; FormManager.prototype.scrollToPortalMessage = function() {