From 0e3825c816f6002234d38409e2a48c98db054e93 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 3 Jan 2016 18:27:07 +0100 Subject: [PATCH] adjust case --- webcit/calendar_view.c | 2 +- webcit/static/t/edit/markdown_epic.html | 6 +++--- webcit/static/t/edit/message.html | 3 ++- webcit/static/t/paging/anchor.html | 2 +- webcit/static/t/view_blog/post.html | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index bfc455728..03e80e5d1 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -137,7 +137,7 @@ void embeddable_mini_calendar(int year, int month) StrBufAppendPrintf(WC->trailing_javascript, " function minical_change_month(year, month) { \n" " p = 'year=' + year + '&month=' + month \n" - " + '&r=' + CtdlRandomString(); \n" + " + '&r=' + ctdlRandomString(); \n" " new Ajax.Updater('%s', 'mini_calendar', \n" " { method: 'get', parameters: p, evalScripts: true } ); \n" " } \n" diff --git a/webcit/static/t/edit/markdown_epic.html b/webcit/static/t/edit/markdown_epic.html index 19c8dc284..d1cc5cfc4 100644 --- a/webcit/static/t/edit/markdown_epic.html +++ b/webcit/static/t/edit/markdown_epic.html @@ -106,7 +106,7 @@ function show_attachments_form() { $('attachments_form').style.display = 'block'; - p = 'template=edit_message_attachments_pane&r=' + CtdlRandomString(); + p = 'template=edit_message_attachments_pane&r=' + ctdlRandomString(); new Ajax.Updater( 'attachments_form', 'do_template', @@ -119,7 +119,7 @@ } function update_attachment_count() { - p = 'r=' + CtdlRandomString(); + p = 'r=' + ctdlRandomString(); new Ajax.Updater( 'num_attachments', 'show_num_attachments', @@ -131,7 +131,7 @@ } function remove_attachment(which_one) { - p = 'which_attachment=' + which_one + '&r=' + CtdlRandomString(); + p = 'which_attachment=' + which_one + '&r=' + ctdlRandomString(); new Ajax.Updater( 'gonna_upload_this', 'remove_attachment', diff --git a/webcit/static/t/edit/message.html b/webcit/static/t/edit/message.html index f803f3762..e5c2ea812 100644 --- a/webcit/static/t/edit/message.html +++ b/webcit/static/t/edit/message.html @@ -14,6 +14,7 @@ "> "> "> + @@ -165,7 +166,7 @@ } function update_attachment_count() { - p = 'r=' + CtdlRandomString(); + p = 'r=' + ctdlRandomString(); new Ajax.Updater( 'num_attachments', 'show_num_attachments', diff --git a/webcit/static/t/paging/anchor.html b/webcit/static/t/paging/anchor.html index 15a0bab89..2b124f9d4 100644 --- a/webcit/static/t/paging/anchor.html +++ b/webcit/static/t/paging/anchor.html @@ -9,7 +9,7 @@ } } function CheckPager() { - new Ajax.Request('sslg', { method: 'get', parameters: CtdlRandomString(), + new Ajax.Request('sslg', { method: 'get', parameters: ctdlRandomString(), onSuccess: HandleSslp } ); } new PeriodicalExecuter(CheckPager, 30); diff --git a/webcit/static/t/view_blog/post.html b/webcit/static/t/view_blog/post.html index 7323ab89c..40814d5bd 100644 --- a/webcit/static/t/view_blog/post.html +++ b/webcit/static/t/view_blog/post.html @@ -1,4 +1,4 @@ -
+
-- 2.30.2