##// END OF EJS Templates
Reset form to the end of thread instead of closing it
neko259 -
r1058:30602d98 default
parent child Browse files
Show More
@@ -42,7 +42,7 b' function getForm() {'
42 42
43 43 function closeForm() {
44 44 var form = getForm();
45 form.hide();
45 //form.hide();
46 46 form.insertAfter($('.thread'));
47 47 }
48 48
@@ -27,7 +27,11 b''
27 27 {% endif %}
28 28 {% endif %}
29 29 {% if is_opening and need_open_link %}
30 {% if thread.archived %}
30 31 <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a>
32 {% else %}
33 <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a>
34 {% endif %}
31 35 {% endif %}
32 36 {% if reply_link and not thread.archived %}
33 37 <a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a>
@@ -48,7 +48,7 b''
48 48 </div>
49 49 <div><a href="{% url "staticpage" name="help" %}">
50 50 {% trans 'Text syntax' %}</a></div>
51 <div><a href="#" onClick="getForm().hide(); return false;">{% trans 'Close form' %}</a></div>
51 <div><a href="#" onClick="closeForm(); return false;">{% trans 'Close form' %}</a></div>
52 52 </div>
53 53 </div>
54 54
General Comments 0
You need to be logged in to leave comments. Login now