From: jordan Date: Wed, 13 Jul 2011 10:56:26 +0000 (+0000) Subject: OSQA-726, resolves an issue dating back from revision #1071, .serialize() method... X-Git-Tag: live~196 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/e5cd988563f154900222d31e63cf51c9903506e9?ds=sidebyside OSQA-726, resolves an issue dating back from revision #1071, .serialize() method didn't pass post id and this resulted the creation of a new node git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1117 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 6bd0969..18bd941 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -594,7 +594,7 @@ $(function() { } start_command(); - $.post($form.attr('action'), $form.serialize(), function(data) { + $.post($form.attr('action'), post_data, function(data) { process_ajax_response(data, evt, function(error) { if (!error) { cleanup_form();