summaryrefslogtreecommitdiffstats
path: root/askbot/templates/meta/bottom_scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/meta/bottom_scripts.html')
-rw-r--r--askbot/templates/meta/bottom_scripts.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/templates/meta/bottom_scripts.html b/askbot/templates/meta/bottom_scripts.html
index 3f1a6e57..c027258e 100644
--- a/askbot/templates/meta/bottom_scripts.html
+++ b/askbot/templates/meta/bottom_scripts.html
@@ -43,6 +43,7 @@
{% endif %}
askbot['data']['haveFlashNotifications'] = {{ user_messages|as_js_bool }};
askbot['data']['activeTab'] = '{{ active_tab }}';
+ askbot['settings']['csrfCookieName'] = '{{ settings.CSRF_COOKIE_NAME }}';
{% if search_state %}
askbot['data']['searchUrl'] = '{{ search_state.query_string()|escapejs }}';
{% else %}