projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
037a7aa
)
L'url de l'objet n'est pas ce qui a de plus pertinent pour l'ajout dans l'historique...
author
Benoît Pin
<benoit.pin@gmail.com>
Sun, 27 Apr 2014 19:43:53 +0000
(21:43 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Sun, 27 Apr 2014 19:43:53 +0000
(21:43 +0200)
skins/ajax_scripts/ajax_form_manager.js
patch
|
blob
|
history
diff --git
a/skins/ajax_scripts/ajax_form_manager.js
b/skins/ajax_scripts/ajax_form_manager.js
index
d3efec3
..
8bbd4e7
100644
(file)
--- 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();
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() {
};
FormManager.prototype.scrollToPortalMessage = function() {