projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2a43650
)
Ajout dans l’historique des chargements de formulaires. TODO : tester la méthode...
author
Benoît Pin
<pin@cri.ensmp.fr>
Mon, 2 Dec 2013 09:46:57 +0000
(10:46 +0100)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Mon, 2 Dec 2013 09:46:57 +0000
(10:46 +0100)
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
6fff36f
..
508a4f9
100644
(file)
--- a/
skins/ajax_scripts/ajax_form_manager.js
+++ b/
skins/ajax_scripts/ajax_form_manager.js
@@
-424,6
+424,7
@@
FormManager.prototype.loadResponse = function(req) {
var onAfterPopulate = this.onAfterPopulate;
onAfterPopulate();
this.scrollToPortalMessage();
+ history.pushState(absolute_url(), document.title, absolute_url());
};
FormManager.prototype.scrollToPortalMessage = function() {