diff MoinMoin/themes/basic/templates/modify.html @ 2922:b99ff90c7fac

fix scroll page after edit not working in basic theme, copy code from modernized
author RogerHaase <haaserd@gmail.com>
date Fri, 20 Feb 2015 13:39:30 -0700
parents cfdec0c11e3d
children 4ab27780d078
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/modify.html	Fri Feb 13 21:14:01 2015 +0100
+++ b/MoinMoin/themes/basic/templates/modify.html	Fri Feb 20 13:39:30 2015 -0700
@@ -99,3 +99,9 @@
         {{ gen.form.close() }}
     </div>
 {% endblock %}
+
+{% block options_for_javascript %}
+    {%- if user.scroll_page_after_edit -%}
+        <br id="moin-scroll-page-after-edit" />
+    {%- endif %}
+{% endblock %}