diff MoinMoin/templates/modify.html @ 1781:90eb2ea82c32

add auto-scroll edit textarea after doubleclick; auto-scroll show page after edit
author Roger Haase <crosseyedpenguin@yahoo.com>
date Mon, 17 Sep 2012 13:06:42 -0700
parents 7841aa4065a7
children c177197b065b
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Sat Sep 08 23:57:40 2012 +0200
+++ b/MoinMoin/templates/modify.html	Mon Sep 17 13:06:42 2012 -0700
@@ -65,3 +65,9 @@
     {{ gen.form.close() }}
 </div>
 {% endblock %}
+
+{% block options_for_javascript %}
+{%- if user.edit_on_doubleclick -%}
+    <br id="moin-scroll-page-after-edit" />
+{%- endif %}
+{% endblock %}