diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-07-16 10:33:57 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-07-16 10:33:57 +0200 |
commit | d4e4da1d8f2205df62aafada94f2cf85cae98d05 (patch) | |
tree | b43cb19bb353fea7a6180b842907227cc11c09e3 | |
parent | 5511e44f8bf92addeaadc9ddcf39fb8e27f9c50c (diff) | |
download | Chimère-d4e4da1d8f2205df62aafada94f2cf85cae98d05.tar.bz2 Chimère-d4e4da1d8f2205df62aafada94f2cf85cae98d05.zip |
Scroll to top after submission
-rw-r--r-- | chimere/templates/chimere/edit.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chimere/templates/chimere/edit.html b/chimere/templates/chimere/edit.html index 2a797f9..8b66888 100644 --- a/chimere/templates/chimere/edit.html +++ b/chimere/templates/chimere/edit.html @@ -208,6 +208,7 @@ return false; } $("#proposition_form").ajaxForm(); + $('#modal-edit').animate({ scrollTop: 0 }); displayProgress(); $("#proposition_form").ajaxSubmit({ success:function(msg){ |