From: jordan Date: Tue, 3 May 2011 17:16:31 +0000 (+0000) Subject: commit 1016 makes the changes made in 1014 redundand, restore the initial version... X-Git-Tag: live~296 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/5a737217111e2ee8734d5770db9ee0ac0d6b0314 commit 1016 makes the changes made in 1014 redundand, restore the initial version of the osqa.main.js file git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1017 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index 48de0b6..2c72aa1 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -427,7 +427,6 @@ $(function() { if ($form.length) { var $textarea = $container.find('textarea'); var textarea = $textarea.get(0); - var $csrf = $container.find('[name="csrfmiddlewaretoken"]'); var $button = $container.find('.comment-submit'); var $cancel = $container.find('.comment-cancel'); var $chars_left_message = $container.find('.comments-chars-left-msg'); @@ -556,8 +555,7 @@ $(function() { if (running) return false; var post_data = { - comment: $textarea.val(), - csrfmiddlewaretoken: $csrf.val() + comment: $textarea.val() } if (comment_in_form) {