Show More
@@ -317,6 +317,7 b' function processNewPost(post) {' | |||||
317 |
|
317 | |||
318 | var form = $('#form'); |
|
318 | var form = $('#form'); | |
319 |
|
319 | |||
|
320 | if (form.length > 0) { | |||
320 | var options = { |
|
321 | var options = { | |
321 | beforeSubmit: function(arr, $form, options) { |
|
322 | beforeSubmit: function(arr, $form, options) { | |
322 | showAsErrors($('form'), gettext('Sending message...')); |
|
323 | showAsErrors($('form'), gettext('Sending message...')); | |
@@ -329,6 +330,7 b' function processNewPost(post) {' | |||||
329 |
|
330 | |||
330 | resetForm(form); |
|
331 | resetForm(form); | |
331 | } |
|
332 | } | |
|
333 | } | |||
332 |
|
334 | |||
333 | $('#autoupdate').click(getThreadDiff); |
|
335 | $('#autoupdate').click(getThreadDiff); | |
334 | }); |
|
336 | }); |
@@ -61,12 +61,12 b'' | |||||
61 | </div> |
|
61 | </div> | |
62 |
|
62 | |||
63 | <script src="{% static 'js/jquery.form.min.js' %}"></script> |
|
63 | <script src="{% static 'js/jquery.form.min.js' %}"></script> | |
64 | <script src="{% static 'js/thread_update.js' %}"></script> |
|
|||
65 | <script src="{% static 'js/3party/centrifuge.js' %}"></script> |
|
|||
66 | {% endif %} |
|
64 | {% endif %} | |
67 |
|
65 | |||
68 | <script src="{% static 'js/form.js' %}"></script> |
|
66 | <script src="{% static 'js/form.js' %}"></script> | |
69 | <script src="{% static 'js/thread.js' %}"></script> |
|
67 | <script src="{% static 'js/thread.js' %}"></script> | |
|
68 | <script src="{% static 'js/thread_update.js' %}"></script> | |||
|
69 | <script src="{% static 'js/3party/centrifuge.js' %}"></script> | |||
70 |
|
70 | |||
71 | {% endcache %} |
|
71 | {% endcache %} | |
72 | {% endblock %} |
|
72 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now